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 ?