--- a/devsound/a3fdevsound/src/devsoundadaptor/cdevcommoncontrol.cpp Thu Jun 24 10:37:45 2010 +0100
+++ b/devsound/a3fdevsound/src/devsoundadaptor/cdevcommoncontrol.cpp Fri Jul 09 12:23:13 2010 +0100
@@ -107,10 +107,6 @@
DP_IN();
TInt err = KErrNone;
- if(iDevAudio->iActiveState != EDevSoundAdaptorPaused_Primed)
- {
- err = KErrNotReady;
- }
//If following condition is true, then we are here because of a
//pre-emption clash in last Commit cycle started from
@@ -121,6 +117,10 @@
err = Unload();
DP0_RET(err,"%d");
}
+ else if(iDevAudio->iActiveState != EDevSoundAdaptorPaused_Primed)
+ {
+ DP0_RET(KErrNotReady, "%d");
+ }
if(err == KErrNone)
{