> "Nokia is bound by the terms of a commercial contribution agreement
> with RealNetworks, and I am authorized to contribute this code under
> said agreement."
>
> Modified by: [EMAIL PROTECTED]
>
> Reviewed by:
>
> Date: 11-28-2005.
>
> Project: Helix plugin for Symbian
>
> Synopsis: Helix audio device handling of Symbian error code
> ==================================
>
> In the recent (wk 44 Symbian) Code Warrior emulator releases the helix
> audio device was asserting from a recoverable error, KErrNotReady.
> This error was occuring upon a KErrUnderflow recovery, e.g. the device
> had not fully recovered from the underflow when receiving our PlayInit
> call.
>
> files to review
> ===============
> audio/device/platform/symbian/audiosvr/mmf/audio_session-mmf.cpp
>
> Image Size and Heap Use impact: minor
>
> Platforms and Profiles Build Verified: helix-client-s60-mmf-basic
>
> Platforms and Profiles Functionality verified: winscw
>
> Branch: helix
>
>
> <<audio_session-mmf.cpp.diff.txt>>
Index: audio_session-mmf.cpp
===================================================================
RCS file:
/cvsroot/audio/device/platform/symbian/audiosvr/mmf/audio_session-mmf.cpp,v
retrieving revision 1.12
diff -u -w -r1.12 audio_session-mmf.cpp
--- audio_session-mmf.cpp 11 Nov 2005 16:19:56 -0000 1.12
+++ audio_session-mmf.cpp 28 Nov 2005 16:07:18 -0000
@@ -985,9 +985,11 @@
switch(aError)
{
case KErrUnderflow:
+ case KErrNotReady:
{
// either we just played out or (more likely) we were not
// writing to the device fast enough
+ // or the device is busy from underflow clean up playinit call
was too fast
// do re-init so we continue audio playback
_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev