equal
deleted
inserted
replaced
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 |