mmfenh/advancedaudiocontroller/audiotonecontrollerplugin/src/mmfaudiotonecontroller.cpp
changeset 48 a493a607b5bf
parent 21 2ed61feeead6
equal deleted inserted replaced
44:8d0d228c94a2 48:a493a607b5bf
   722 void CMMFAudioToneController::ToneFinished(TInt aError)
   722 void CMMFAudioToneController::ToneFinished(TInt aError)
   723 	{
   723 	{
   724 	// NB KErrInUse, KErrDied OR KErrAccessDenied may be returned 
   724 	// NB KErrInUse, KErrDied OR KErrAccessDenied may be returned 
   725 	// to indicate that the sound device is in use  by another higher 
   725 	// to indicate that the sound device is in use  by another higher 
   726 	// priority client.
   726 	// priority client.
   727 	if (aError == KErrCancel || aError == KErrInUse || 
   727 	
   728 	    aError == KErrDied || aError == KErrAccessDenied)
       
   729 		return;
       
   730 
   728 
   731 	if (aError == KErrUnderflow)
   729 	if (aError == KErrUnderflow)
   732 		aError = KErrNone;
   730 		aError = KErrNone;
   733 
   731 
   734 	if (State() != EStopped)
   732 	if (State() != EStopped)