Our Series 60 application is playing sound using the CMdaAudioOutputStream class. Does anyone how to get an application to still output sound even when it has been moved to the background by use of the task switching button?

Currently, I get the MaoscPlayComplete callback with KErrCancel as soon as the task switch button is pressed. Ive tried raising the priority of the audio stream but cant find anyway to keep the stream playing?

Ive looked at some other apps and most of them automatically pause playback when you press the task switch button - except for one MP3 player that can carry on. So presumably there must be a way???

Can anyone offer any light on this problem ?