I am working on streaming audio player application for iOS. currently i am experimenting with AudioQueue and AudioUnit for playback.
Both works fine in the normal condition. But I am facing an issue with AudioUnit version of app when it goes to sleep mode.
AudioUnit version of the application stopped the playback when application goes to sleep mode. Where as AudioQueue version of the application playing with out any issue during the sleep mode.
I have set "kAudioSessionCategory_MediaPlayback" session category for both cases. I assume this session category should continue the playback even in sleep mode.
I am not sure what i am missing here.
I want to add pan/effects features to my application, so i am trying with AudioUnit.
Any help is highly appreciated.