You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
执行编译命令 g++ -shared -fPIC -o mod_asr.so mod_asr.cpp -pthread -I ./nlsSpeech-release/include -I /usr/local/freeswitch/include -L./nlsSpeech-release/lib/linux -L /usr/local/freeswitch/lib -ldl -lopus -lrealTimeUnity -lfreeswitch
出现下面的错误
mod_asr.cpp: In function ‘switch_bool_t asr_callback(switch_media_bug_t*, void*, switch_abc_type_t)’:
mod_asr.cpp:161: error: ‘struct switch_frame’ has no member named ‘channels’
mod_asr.cpp:163: error: ‘struct switch_frame’ has no member named ‘channels’
猜测应该是freeswtitch的版本不对
Activity