mmfenh/advancedaudiocontroller/audiotonecontrollerplugin/src/mmfaudiotonecontroller.cpp
branchRCL_3
changeset 54 53984cc2f70a
parent 46 0ac9a5310753
equal deleted inserted replaced
50:999b2818a0eb 54:53984cc2f70a
   623 void CMMFAudioToneController::ToneFinished(TInt aError)
   623 void CMMFAudioToneController::ToneFinished(TInt aError)
   624 	{
   624 	{
   625 	// NB KErrInUse, KErrDied OR KErrAccessDenied may be returned 
   625 	// NB KErrInUse, KErrDied OR KErrAccessDenied may be returned 
   626 	// to indicate that the sound device is in use  by another higher 
   626 	// to indicate that the sound device is in use  by another higher 
   627 	// priority client.
   627 	// priority client.
   628 	if (aError == KErrCancel || aError == KErrInUse || 
   628 	
   629 	    aError == KErrDied || aError == KErrAccessDenied)
       
   630 		return;
       
   631 
   629 
   632 	if (aError == KErrUnderflow)
   630 	if (aError == KErrUnderflow)
   633 		aError = KErrNone;
   631 		aError = KErrNone;
   634 
   632 
   635 	if (State() != EStopped)
   633 	if (State() != EStopped)