--- a/devsound/a3fdevsound/src/devsoundadaptor/cdevcommoncontrol.cpp Thu May 27 14:24:04 2010 +0300
+++ b/devsound/a3fdevsound/src/devsoundadaptor/cdevcommoncontrol.cpp Fri Jun 11 15:13:33 2010 +0300
@@ -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)
{