Groups > Symbian > Symbian general discussion > M600i MdaAudio - ungracefully stopping playback




M600i MdaAudio - ungracefully stopping playback

M600i MdaAudio - ungracefully stopping playback
Thu, 15 Feb 2007 18:34:30 +020
Hi all,
I'm porting an application from Pre-9.1 (Nokia 6680 in specific) to UIQ 3.0, 
and I've found that after calling CMdaAudioOutputStream::Stop, any 
subsequent WriteL call shortly reports MaoscBufferCopied(KErrAbort). The 
result is that the first audio stream I play is heard, but any following 
audio is not.
This is not very critical, since I do get MaoscPlayComplete(KErrUnderflow) 
once all audio has been played - unlike pre-9.1 Nokia devices where I had to 
set a timer and Stop audio output manually (the MaoscPlayComplete callback 
is needed for the application to behave properly - it must know that audio 
isn't playing anymore).
However, there are situations where I would like to stop audio as fast as 
possible, but also to be able to play more audio later... Anyone knows how 
to handle this problem?

TIA
Uriah 

Post Reply
about | contact