-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
执行编译命令
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的版本不对
Metadata
Metadata
Assignees
Labels
No labels