SmartAudio/package/allwinner/speech/service/init/01-recorder-node.lua

14 lines
246 B
Lua
Executable File

require('luabin')
aiosResPath = aiosconf and aiosconf.resPath or 'res'
luabin.path = aiosResPath .. '/aios.lub'
if not aiosconf then
aiosconf = {
srctype='aec.pcm'
}
end
local recordernode = require 'aios.node.recorder'
recordernode.run()