748 // Sets client capabilities for this instance of DevSound Adaptation. |
748 // Sets client capabilities for this instance of DevSound Adaptation. |
749 // (other items were commented in a header). |
749 // (other items were commented in a header). |
750 // ----------------------------------------------------------------------------- |
750 // ----------------------------------------------------------------------------- |
751 // |
751 // |
752 EXPORT_C TInt CMMFDevSoundAdaptation::SetClientConfig( |
752 EXPORT_C TInt CMMFDevSoundAdaptation::SetClientConfig( |
753 const TMMFClientConfig& aClientConfig) |
753 const TProcessId& aProcessId) |
754 { |
754 { |
755 DP_CONTEXT(CMMFDevSoundAdaptation::SetClientConfig *CD1*, CtxDevSound, DPLOCAL); |
755 DP_CONTEXT(CMMFDevSoundAdaptation::SetClientConfig *CD1*, CtxDevSound, DPLOCAL); |
756 DP_IN(); |
756 DP_IN(); |
757 TInt retVal = iBody->SetClientConfig(aClientConfig); |
757 TInt retVal = iBody->SetClientConfig(aProcessId); |
758 DP0_RET(retVal, "%d"); |
758 DP0_RET(retVal, "%d"); |
759 } |
759 } |
760 |
760 |
761 // ----------------------------------------------------------------------------- |
761 EXPORT_C TInt CMMFDevSoundAdaptation::SetClientConfig( |
762 // CMMFDevSoundAdaptation::ClientConfig |
762 const TProcessId& aActualProcessId, |
763 // Returns client capabilities of this instance of DevSound Adaptation. |
763 const TProcessId& aProcessId) |
764 // (other items were commented in a header). |
764 { |
765 // ----------------------------------------------------------------------------- |
765 DP_CONTEXT(CMMFDevSoundAdaptation::SetClientConfig *CD1*, CtxDevSound, DPLOCAL); |
766 // |
766 DP_IN(); |
767 EXPORT_C const TMMFClientConfig& CMMFDevSoundAdaptation::ClientConfig() const |
767 TInt retVal = iBody->SetClientConfig(aActualProcessId, aProcessId); |
768 { |
768 DP0_RET(retVal, "%d"); |
769 DP_CONTEXT(CMMFDevSoundAdaptation::ClientConfig *CD1*, CtxDevSound, DPLOCAL); |
769 } |
770 DP_IN(); |
|
771 DP_OUT(); |
|
772 return(iBody->ClientConfig()); |
|
773 } |
|
774 |
770 |
775 // ----------------------------------------------------------------------------- |
771 // ----------------------------------------------------------------------------- |
776 // CMMFDevSoundAdaptation::EmptyBuffers |
772 // CMMFDevSoundAdaptation::EmptyBuffers |
777 // |
773 // |
778 // (other items were commented in a header). |
774 // (other items were commented in a header). |