What does this error mean? 'cont_ad_read failed'

Home Forums OpenEars What does this error mean? 'cont_ad_read failed'

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)

  • Author
    Posts
  • #1019262
    Anonymous
    Inactive

    is there a proper way to destroy the pocketsphinxController? I’m having an issue with:

    Setting up the continuous recognition loop has failed for some reason, please turn on OpenEarsLogging to learn more

    here is the log once OpenEarsLogging is turned on:
    I

    ‘m done running performDictionaryLookup and it took 0.791383 seconds
    2013-12-27 11:12:03.691 [8941:60b] I’m done running dynamic language model generation and it took 409849923.691113 seconds
    2013-12-27 11:12:03.692 [8941:60b] Leaving sample rate at the default of 16000.
    2013-12-27 11:12:03.692 [8941:60b] The audio session has already been initialized but we will override its properties.
    2013-12-27 11:12:03.693 [8941:60b] Checking and resetting all audio session settings.
    2013-12-27 11:12:03.695 [8941:60b] audioCategory is correct, we will leave it as it is.
    2013-12-27 11:12:03.696 [8941:60b] bluetoothInput is correct, we will leave it as it is.
    2013-12-27 11:12:03.697 [8941:60b] Output Device: SpeakerAndMicrophone.
    2013-12-27 11:12:03.698 [8941:60b] categoryDefaultToSpeaker is correct, we will leave it as it is.
    2013-12-27 11:12:03.699 [8941:60b] preferredBufferSize is correct, we will leave it as it is.
    2013-12-27 11:12:03.701 [8941:60b] preferredSampleRateCheck is correct, we will leave it as it is.
    2013-12-27 11:12:03.702 [8941:60b] AudioSessionManager startAudioSession has reached the end of the initialization.
    2013-12-27 11:12:03.703 [8941:60b] Exiting startAudioSession.
    2013-12-27 11:12:03.705 [8941:8a47] Recognition loop has started
    2013-12-27 11:12:03.862 [8941:8a47] Starting openAudioDevice on the device.
    2013-12-27 11:12:03.863 [8941:8a47] This device is recording, so we will first stop it
    2013-12-27 11:12:03.863 [8941:8a47] Stopping audio unit.
    2013-12-27 11:12:03.928 [8941:8a47] Audio Output Unit stopped, cleaning up variable states.
    2013-12-27 11:12:03.929 [8941:8a47] The audio unit is running so we are going to dispose of its instance
    2013-12-27 11:12:03.930 [8941:4407] cont_ad_read failed
    2013-12-27 11:12:03.931 [8941:8a47] Audio unit wrapper successfully created.
    2013-12-27 11:12:03.932 [8941:60b] Setting up the continuous recognition loop has failed for some reason, please turn on OpenEarsLogging to learn more.

    Any help is greatly appreciated. Thanks!

    #1019263
    Halle Winkler
    Politepix

    Welcome,

    is there a proper way to destroy the pocketsphinxController?

    Does this happen after leaving a view controller and then recreating it? It’s necessary to call [self.pocketsphinxController stopListening] before doing anything that ought to result in the pocketsphinxController being released.

    If that isn’t the issue I’d need a bit more information about the structure of your app, any other audio-using operations that are also occurring in the same app, and the complete OpenEarsLogging output (the beginning has been omitted above).

    #1019264
    Anonymous
    Inactive

    Thanks Halle! That was precisely it. In some cases I was calling stopListening but in others I wasn’t…

    #1019265
    Halle Winkler
    Politepix

    Super, glad it’s working for you now!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.