diff -r 67584cc761d1 -r 545d349d14da devsound/a3fdevsound/src/devsoundadaptor/mmfdevsoundadaptationbody.cpp --- a/devsound/a3fdevsound/src/devsoundadaptor/mmfdevsoundadaptationbody.cpp Tue May 25 14:20:15 2010 +0300 +++ b/devsound/a3fdevsound/src/devsoundadaptor/mmfdevsoundadaptationbody.cpp Wed Jun 09 11:20:54 2010 +0300 @@ -1004,33 +1004,25 @@ // ----------------------------------------------------------------------------- // TInt CMMFDevSoundAdaptation::CBody::SetClientConfig( - const TMMFClientConfig& aClientConfig) - { - DP_CONTEXT(CMMFDevSoundAdaptation::CBody::SetClientConfig *CD1*, CtxDevSound, DPLOCAL); - DP_IN(); + const TProcessId& aActualProcessId, + const TProcessId& aProcessId) + { + DP_CONTEXT(CMMFDevSoundAdaptation::CBody::SetClientConfig *CD1*, CtxDevSound, DPLOCAL); + DP_IN(); - TInt err = iDevAudio->SetClientConfig(aClientConfig); - if (err == KErrNone) - { - iClientConfig = aClientConfig; - } - DP0_RET(err, "%d"); - } + TInt err = iDevAudio->SetClientConfig(aActualProcessId, aProcessId); + DP0_RET(err, "%d"); + } -// ----------------------------------------------------------------------------- -// TMMFClientConfig& CMMFDevSoundAdaptation::CBody::ClientConfig -// Returns client capabilities of this instance of DevSound Adaptation. -// (other items were commented in a header). -// ----------------------------------------------------------------------------- -// -const TMMFClientConfig& CMMFDevSoundAdaptation::CBody::ClientConfig() const - { - DP_CONTEXT(CMMFDevSoundAdaptation::CBody::ClientConfig *CD1*, CtxDevSound, DPLOCAL); - DP_IN(); - DP_OUT(); - return iClientConfig; - } +TInt CMMFDevSoundAdaptation::CBody::SetClientConfig( + const TProcessId& aProcessId) + { + DP_CONTEXT(CMMFDevSoundAdaptation::CBody::SetClientConfig *CD1*, CtxDevSound, DPLOCAL); + DP_IN(); + TInt err = iDevAudio->SetClientConfig(aProcessId); + DP0_RET(err, "%d"); + } TBool CMMFDevSoundAdaptation::CBody::CloseDevSound() {