my voip app is configured to kAudioSessionCateg开发者_开发技巧ory_PlayAndRecord category and kAudioSessionProperty_OverrideCategoryMixWithOthers audio session property.
As I previously found here. If you start running an AVAssetReader while using a Remote I/O callback to play audio, starting the AVAssetReader will block the Remote I/O callback unless you allow iPod
I got this code to tell if the headphones are connected or not: This in viewDidLoad: AudioSessionAddPropertyListener(kAudioSessionProperty_AudioRouteChange, audioSessionPropertyListener, nil);
can someone confirm whether this is indeed a bug?( If so I will go off and file it with Apple ). attempting to fetch kAudioSessionProperty_AudioRouteis returning error code kAudioSessionUnsupportedPr
I\'m developing an interactive storybook type application for the iPhone and I\'ve recently encountered a frustrating 开发者_如何学运维bug concerning audio mixing on the device.
I made a streaming music player and it works fine in the foreground. But in the background iOS4, 开发者_StackOverflow中文版it doesn\'t play the next song automatically. ( remote control works )
I have an app which does listen and play sound at the same time. By default, the sound output goes through the earphone. So I use the following code to route it through the speaker:
I curre开发者_开发问答ntly use AVAudioPlayer to play music while in the foreground, but when I press the home button my application goes to the background and the music stops.I set the category for my
I\'ve using the SpeakHere audio classes in an App I\'m creating that must Play & Record simultaneously.
Is AudioSession actuall开发者_高级运维y the same thing as OpenAL? They are quite different in purpose.