Skip to content

freeswtich的版本是什么 #4

Description

@litongjava

执行编译命令
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions