equal
deleted
inserted
replaced
304 |
304 |
305 // ----------------------------------------------------------------------------- |
305 // ----------------------------------------------------------------------------- |
306 // TMSServerSession::HandleGlobalEffectChange |
306 // TMSServerSession::HandleGlobalEffectChange |
307 // ----------------------------------------------------------------------------- |
307 // ----------------------------------------------------------------------------- |
308 // |
308 // |
309 void TMSServerSession::HandleGlobalEffectChange(TInt globalevent) |
309 void TMSServerSession::HandleGlobalEffectChange(TInt globalevent, TInt level, |
|
310 TBool output_change, TMSAudioOutput output) |
310 { |
311 { |
311 TRACE_PRN_FN_ENT; |
312 TRACE_PRN_FN_ENT; |
312 iMsgBuffer.iInt = globalevent; |
313 iMsgBuffer.iInt = globalevent; |
|
314 iMsgBuffer.iUint = (guint)level; |
|
315 iMsgBuffer.iInt2 = (gint)output; |
|
316 iMsgBuffer.iBool = output_change; |
313 NotifyClient(ECmdGlobalEffectChange); |
317 NotifyClient(ECmdGlobalEffectChange); |
314 TRACE_PRN_FN_EXT; |
318 TRACE_PRN_FN_EXT; |
315 } |
319 } |
316 |
320 |
317 // ----------------------------------------------------------------------------- |
321 // ----------------------------------------------------------------------------- |
361 if (codecs) |
365 if (codecs) |
362 { |
366 { |
363 codecsCount = codecs->Count(); |
367 codecsCount = codecs->Count(); |
364 } |
368 } |
365 |
369 |
366 if (codecsCount <= 0) |
370 if (codecs && codecsCount <= 0) |
367 { |
371 { |
368 delete iDevSound; |
372 delete iDevSound; |
369 iDevSound = NULL; |
373 iDevSound = NULL; |
370 iDevSound = CMMFDevSound::NewL(); |
374 iDevSound = CMMFDevSound::NewL(); |
371 |
375 |