messagingappbase/msgeditor/mediacontrolsrc/MsgAudioControl.cpp
branchRCL_3
changeset 25 fa1df4b99609
parent 0 72b543305e3a
equal deleted inserted replaced
24:696bfeff199e 25:fa1df4b99609
   341         case DRMCommon::ERightsExpired:
   341         case DRMCommon::ERightsExpired:
   342             {
   342             {
   343             SetState( EMsgAsyncControlStateNoRights );
   343             SetState( EMsgAsyncControlStateNoRights );
   344             break;
   344             break;
   345             }
   345             }
       
   346 		case KErrInUse: // To handle if head phone is removed from the jack while playing audio.
       
   347             {
       
   348             Stop();
       
   349             break;
       
   350             }
   346         case KErrNoMemory:
   351         case KErrNoMemory:
   347         case KErrNotSupported:
   352         case KErrNotSupported:
   348         case KErrCorrupt:
   353         case KErrCorrupt:
   349             {
   354             {
   350             // These errors are always "fatal".
   355             // These errors are always "fatal".