diff -r bea5e7625e42 -r ab526b8cacfb mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioPlaybackTestModule/src/SimpleSoundPlayer.cpp --- a/mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioPlaybackTestModule/src/SimpleSoundPlayer.cpp Wed Jun 09 10:15:38 2010 +0300 +++ b/mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioPlaybackTestModule/src/SimpleSoundPlayer.cpp Mon Jun 21 16:15:34 2010 +0300 @@ -448,12 +448,14 @@ } - + + TInt pwErr =0; + if (playWindow) { iLogger.Log(_L("SetPlayWindow, start=[%d]"),startPosition.Int64()); iLogger.Log(_L("SetPlayWindow, end=[%d]"), endPosition.Int64() ); - TInt pwErr = iMdaPlayer->SetPlayWindow(startPosition, endPosition); + pwErr = iMdaPlayer->SetPlayWindow(startPosition, endPosition); iLogger.Log(_L("SetPlayWindow err=[%d]"), pwErr); if (clearWindow) { @@ -462,7 +464,11 @@ } } - + if (iNegativePlayBackWindow && pwErr ) + { + iLogger.Log(_L("SetPlayWindow Expected Err for negative test case")); + CActiveScheduler::Stop(); + } if (setBalance) { SetBalance(aBalance);