Conflict with AudioToolBox

Home Forums OpenEars Conflict with AudioToolBox

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

  • Author
    Posts
  • #10858
    Lloydy
    Participant

    Hi,

    I’ve come across a few posts before that mention some issues with AudioToolBox, playing system sounds and OpenEars. They mention upgrading to 1.01, which i have done, however i’m still not able to play any system sounds or vibrate the phone. If i run the app without OpenEars it all works. I’m using iOS 5 and iPhone 4, any help would be greatly appreciated

    Thanks

    Lloyd

    2012-08-21 17:55:50.472 TheInsanityMirror[22161:707] The audio session has never been initialized so we will do that now.
    2012-08-21 17:55:50.482 TheInsanityMirror[22161:707] Checking and resetting all audio session settings.
    2012-08-21 17:55:50.489 TheInsanityMirror[22161:707] audioCategory is incorrect, we will change it.
    2012-08-21 17:55:50.497 TheInsanityMirror[22161:707] audioCategory is now on the correct setting of kAudioSessionCategory_PlayAndRecord.
    2012-08-21 17:55:50.503 TheInsanityMirror[22161:707] bluetoothInput is incorrect, we will change it.
    2012-08-21 17:55:50.508 TheInsanityMirror[22161:707] bluetooth input is now on the correct setting of 1.
    2012-08-21 17:55:50.512 TheInsanityMirror[22161:707] categoryDefaultToSpeaker is incorrect, we will change it.
    2012-08-21 17:55:50.516 TheInsanityMirror[22161:707] CategoryDefaultToSpeaker is now on the correct setting of 1.
    2012-08-21 17:55:50.521 TheInsanityMirror[22161:707] preferredBufferSize is incorrect, we will change it.
    2012-08-21 17:55:50.532 TheInsanityMirror[22161:707] PreferredBufferSize is now on the correct setting of 0.128000.
    2012-08-21 17:55:50.537 TheInsanityMirror[22161:707] preferredSampleRateCheck is incorrect, we will change it.
    2012-08-21 17:55:50.542 TheInsanityMirror[22161:707] preferred hardware sample rate is now on the correct setting of 16000.000000.
    2012-08-21 17:55:50.660 TheInsanityMirror[22161:707] AudioSessionManager startAudioSession has reached the end of the initialization.
    2012-08-21 17:55:50.665 TheInsanityMirror[22161:707] Exiting startAudioSession.
    2012-08-21 17:55:50.674 TheInsanityMirror[22161:4203] Recognition loop has started
    2012-08-21 17:55:50.877 TheInsanityMirror[22161:707] Pocketsphinx is starting up.
    2012-08-21 17:55:51.384 TheInsanityMirror[22161:4203] Starting openAudioDevice on the device.
    2012-08-21 17:55:51.389 TheInsanityMirror[22161:4203] Audio unit wrapper successfully created.
    2012-08-21 17:55:51.400 TheInsanityMirror[22161:4203] Set audio route to HeadphonesAndMicrophone
    2012-08-21 17:55:51.406 TheInsanityMirror[22161:4203] Checking and resetting all audio session settings.
    2012-08-21 17:55:51.412 TheInsanityMirror[22161:4203] audioCategory is correct, we will leave it as it is.
    2012-08-21 17:55:51.416 TheInsanityMirror[22161:4203] bluetoothInput is correct, we will leave it as it is.
    2012-08-21 17:55:51.424 TheInsanityMirror[22161:4203] categoryDefaultToSpeaker is correct, we will leave it as it is.
    2012-08-21 17:55:51.429 TheInsanityMirror[22161:4203] preferredBufferSize is correct, we will leave it as it is.
    2012-08-21 17:55:51.437 TheInsanityMirror[22161:4203] preferredSampleRateCheck is correct, we will leave it as it is.
    2012-08-21 17:55:51.443 TheInsanityMirror[22161:4203] Setting the variables for the device and starting it.
    2012-08-21 17:55:51.448 TheInsanityMirror[22161:4203] Looping through ringbuffer sections and pre-allocating them.
    2012-08-21 17:55:52.032 TheInsanityMirror[22161:4203] Started audio output unit.
    2012-08-21 17:55:52.037 TheInsanityMirror[22161:4203] Calibration has started
    2012-08-21 17:55:52.041 TheInsanityMirror[22161:707] Pocketsphinx calibration has started.
    2012-08-21 17:55:54.281 TheInsanityMirror[22161:4203] Calibration has completed
    2012-08-21 17:55:54.283 TheInsanityMirror[22161:707] Pocketsphinx calibration is complete.
    2012-08-21 17:55:54.296 TheInsanityMirror[22161:4203] Project has these words in its dictionary:
    AHA
    ARMS
    BLUE
    COURSE
    DAY
    DO
    EMBARRASS
    GREEN
    HELLO
    HELLO(2)
    I
    INDEED
    NASTY
    NICE
    NICE(2)
    NIGHT
    NO
    NOSE
    OF
    OK
    RED
    SILENCE
    SORRY
    STOP
    SURE
    THANK
    THANKS
    YEAH
    YELLOW
    YEP
    YES
    YOU

    2012-08-21 17:55:54.299 TheInsanityMirror[22161:4203] Listening.
    2012-08-21 17:55:54.307 TheInsanityMirror[22161:707] START LISTENING
    2012-08-21 17:55:54.314 TheInsanityMirror[22161:707] Pocketsphinx has suspended recognition.

    #10860
    Halle Winkler
    Politepix

    Hi,

    This is the authoritative discussion on this, but my impression is that it’s a bug or questionable feature of the audio session: https://www.politepix.com/forums/topic/keep-system-sounds-while-listening/

    I unfortunately don’t have any insight into this issue beyond the thread discussion.

    Say, would you be so kind as to remove the salty language in your language model when you post your logs? I don’t have a content filter on the forum because it’s almost never needed, but it’s better kept out of Google’s index for the site. Thank you!

    #10865
    Lloydy
    Participant

    Thanks for the quick response Halle, very sorry about the bad language posted, just copied and pasted without thinking

    L

    #10866
    Halle Winkler
    Politepix

    No prob!

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