fanshuming2011 发表于 2018-12-10 15:31:29

好的,在源码DCSApplication.cpp中,这个地方被注释调了,请问是你们改动的还baidu 给你们的就是这样的

#if 0
    m_audioLibName = Configuration::getInstance()->getAudioLibName();

    bool ret = m_audioDyLib->load(m_audioLibName);
    if (!ret) {
      LOGGER_ERROR(LX("initialize Failed").d("reason", "load library error"));
      return false;
    }
    createT * m_create = (createT *)m_audioDyLib->getSym("create");

    if (!m_create) {
      LOGGER_ERROR(LX("initialize Failed").d("reason", "get symbol error"));
      return false;
    }

    std::shared_ptr<AudioMicrophoneInterface>micWrapper = m_create(m_dcsSdk);

    micWrapper->setRecordDataInputCallback(recordDataInputCallback);

    applicationManager->setMicrophoneWrapper(micWrapper);
#endif
页: 1 [2]
查看完整版本: duer_linux 和alsa_audio_main_service是怎样通信的