equal
deleted
inserted
replaced
150 // RVoIPAudioSession::GetMaxVolume |
150 // RVoIPAudioSession::GetMaxVolume |
151 // ----------------------------------------------------------------------------- |
151 // ----------------------------------------------------------------------------- |
152 // |
152 // |
153 EXPORT_C TInt RVoIPAudioSession::GetMaxVolume() |
153 EXPORT_C TInt RVoIPAudioSession::GetMaxVolume() |
154 { |
154 { |
155 TInt maxVol = 0; |
|
156 TPckgBuf<TInt> pckg; |
155 TPckgBuf<TInt> pckg; |
157 TIpcArgs args(&pckg); |
156 TIpcArgs args(&pckg); |
158 SendClientRequest(EVoIPGetMaxVolume, args); |
157 TInt err = SendClientRequest(EVoIPGetMaxVolume, args); |
159 maxVol = pckg(); |
158 return (err == KErrNone) ? pckg() : err; |
160 return maxVol; |
|
161 } |
159 } |
162 |
160 |
163 // ----------------------------------------------------------------------------- |
161 // ----------------------------------------------------------------------------- |
164 // RVoIPAudioSession::SetVolume |
162 // RVoIPAudioSession::SetVolume |
165 // ----------------------------------------------------------------------------- |
163 // ----------------------------------------------------------------------------- |
336 // RVoIPAudioSession::GetMaxGain |
334 // RVoIPAudioSession::GetMaxGain |
337 // ----------------------------------------------------------------------------- |
335 // ----------------------------------------------------------------------------- |
338 // |
336 // |
339 EXPORT_C TInt RVoIPAudioSession::GetMaxGain() |
337 EXPORT_C TInt RVoIPAudioSession::GetMaxGain() |
340 { |
338 { |
341 TInt maxGain = 0; |
|
342 TPckgBuf<TInt> pckg; |
339 TPckgBuf<TInt> pckg; |
343 TIpcArgs args(&pckg); |
340 TIpcArgs args(&pckg); |
344 SendClientRequest(EVoIPGetMaxGain, args); |
341 TInt err = SendClientRequest(EVoIPGetMaxGain, args); |
345 maxGain = pckg(); |
342 return (err == KErrNone) ? pckg() : err; |
346 return maxGain; |
|
347 } |
343 } |
348 |
344 |
349 // ----------------------------------------------------------------------------- |
345 // ----------------------------------------------------------------------------- |
350 // RVoIPAudioSession::SetGain |
346 // RVoIPAudioSession::SetGain |
351 // ----------------------------------------------------------------------------- |
347 // ----------------------------------------------------------------------------- |