vtengines/videoteleng/Src/Media/CVtEngMediaHandler.cpp
branchRCL_3
changeset 17 9ec13d39cc2e
parent 16 4e9858fa9559
child 18 e1a893011fac
equal deleted inserted replaced
16:4e9858fa9559 17:9ec13d39cc2e
   510                 // mute/unmute not possible if audio channel closed.
   510                 // mute/unmute not possible if audio channel closed.
   511                 if ( IsFlag( EOutAudioChannelClosed ) ) {
   511                 if ( IsFlag( EOutAudioChannelClosed ) ) {
   512                     break;
   512                     break;
   513                 }
   513                 }
   514             case KVtEngSetAudioRouting:
   514             case KVtEngSetAudioRouting:
       
   515                 if ( ( iProtoState == MVtProtocolCommand::EConnected ) && 
       
   516                      ( ( iPendingOp && iPendingOp->Command() == KVtEngHandleLayoutChange )
       
   517                        || !iPendingOp ) )
       
   518                     {
       
   519                     okToPerform = KErrNone;
       
   520                     }
       
   521                 break;
   515             case KVtEngSetAudioVolume:
   522             case KVtEngSetAudioVolume:
   516                 if ( ( iProtoState == MVtProtocolCommand::EConnected ) && !iPendingOp )
   523                 if ( ( iProtoState == MVtProtocolCommand::EConnected ) && !iPendingOp )
   517                     {
   524                     {
   518                     okToPerform = KErrNone;
   525                     okToPerform = KErrNone;
   519                     }
   526                     }