Audio pause occurs when switching between PlayBack and PlayAndRecord audio categories, and even if we try to set the same or different mode within the category PlayAndRecord.

my application contains multiple buttons to allow the user to change the Audio Category + mode. We play music from outside the application and then invoke the App to test the behavior when we transition between different categories. The audio glitch is observed when we switch from AVAudioSessionCategoryPlayAndRecord to AVAudioSessionCategoryPlayBack or even setting different modes within AVAudioSessionCategoryPlayAndRecord Category. Here we observed one or two music pause(s) of fraction of seconds depending on the case executed. This music pause is severely hampering our user experience.


Is this a normal behaviour ?

Audio pause occurs when switching between PlayBack and PlayAndRecord audio categories, and even if we try to set the same or different mode within the category PlayAndRecord.
 
 
Q