mmserv/tms/tmsserver/src/tmsserversession.cpp
branchRCL_3
changeset 13 f5c5c82a163e
parent 10 3d8c721bf319
child 45 095bea5f582e
equal deleted inserted replaced
11:03a293c97d5c 13:f5c5c82a163e
   228 
   228 
   229 // -----------------------------------------------------------------------------
   229 // -----------------------------------------------------------------------------
   230 // TMSServerSession::HandleGlobalEffectChange
   230 // TMSServerSession::HandleGlobalEffectChange
   231 // -----------------------------------------------------------------------------
   231 // -----------------------------------------------------------------------------
   232 //
   232 //
   233 void TMSServerSession::HandleGlobalEffectChange(TInt globalevent)
   233 void TMSServerSession::HandleGlobalEffectChange(TInt globalevent, TInt level,
       
   234         TBool output_change, TMSAudioOutput output)
   234     {
   235     {
   235     TRACE_PRN_FN_ENT;
   236     TRACE_PRN_FN_ENT;
   236     iMsgBuffer.iInt = globalevent;
   237     iMsgBuffer.iInt = globalevent;
       
   238     iMsgBuffer.iUint = (guint)level;
       
   239     iMsgBuffer.iInt2 = (gint)output;
       
   240     iMsgBuffer.iBool = output_change;
   237     NotifyClient(ECmdGlobalEffectChange);
   241     NotifyClient(ECmdGlobalEffectChange);
   238     TRACE_PRN_FN_EXT;
   242     TRACE_PRN_FN_EXT;
   239     }
   243     }
   240 
   244 
   241 // -----------------------------------------------------------------------------
   245 // -----------------------------------------------------------------------------
   285     if (codecs)
   289     if (codecs)
   286         {
   290         {
   287         codecsCount = codecs->Count();
   291         codecsCount = codecs->Count();
   288         }
   292         }
   289 
   293 
   290     if (codecsCount <= 0)
   294     if (codecs && codecsCount <= 0)
   291         {
   295         {
   292         delete iDevSound;
   296         delete iDevSound;
   293         iDevSound = NULL;
   297         iDevSound = NULL;
   294         iDevSound = CMMFDevSound::NewL();
   298         iDevSound = CMMFDevSound::NewL();
   295 
   299