mmlibs/mmfw/src/Client/Audio/mmfclienttoneplayer.cpp
changeset 41 f7bf1ed8db72
parent 32 ae690a8c4a18
child 58 b6dbf97aba93
equal deleted inserted replaced
32:ae690a8c4a18 41:f7bf1ed8db72
   858 	iAsyncCallback->MatoPrepareComplete(error);
   858 	iAsyncCallback->MatoPrepareComplete(error);
   859 	}
   859 	}
   860 
   860 
   861 void CMMFMdaAudioToneUtility::CancelPrepare()
   861 void CMMFMdaAudioToneUtility::CancelPrepare()
   862 	{
   862 	{
   863 	// FIXME - do we need to cancel the callback?  What if the callback is actually calling back another error?  Probably best not to cancel...
   863 	// xxx - do we need to cancel the callback?  What if the callback is actually calling back another error?  Probably best not to cancel...
   864 	delete iToneConfig;
   864 	delete iToneConfig;
   865 	iToneConfig = NULL;
   865 	iToneConfig = NULL;
   866 
   866 
   867 	if (iState == EMdaAudioToneUtilityPrepared)
   867 	if (iState == EMdaAudioToneUtilityPrepared)
   868 		{
   868 		{