diff -r c36d67f77f75 -r eb1e5d7cc688 devsound/a3fdevsound/src/devsoundadaptor/mmfdevsoundadaptationbody.cpp --- a/devsound/a3fdevsound/src/devsoundadaptor/mmfdevsoundadaptationbody.cpp Thu Jun 24 10:37:45 2010 +0100 +++ b/devsound/a3fdevsound/src/devsoundadaptor/mmfdevsoundadaptationbody.cpp Fri Jul 09 12:23:13 2010 +0100 @@ -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() {