sl@0: /* sl@0: * Copyright (c) 1997-2002 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: #include sl@0: #include // For making it ECom plugin sl@0: #include sl@0: #include "MMFpcm16ToPcm16HwDevice.h" sl@0: #include "MMFpcm16ToPcmU8HwDevice.h" sl@0: #include "MMFpcmU8ToPcm16HwDevice.h" sl@0: #include "MmfMuLawToPcm16hwDevice.h" sl@0: #include "MmfALawToPcm16HwDevice.h" sl@0: #include "MmfPcm16toAlawhwDevice.h" sl@0: #include "mmfpcm16toMulawhwdevice.h" sl@0: #include "mmfpcm16SwapEndianhwdevice.h" sl@0: #include "MMFpcm16ToPcmU8HwDevice.h" sl@0: #include "mmfpcmU16TopcmS16HwDevice.h" sl@0: #include "mmfpcmU16BeToPcmS16HwDevice.h" sl@0: #include "mmfpcmS8ToPcmS16HwDevice.h" sl@0: #include "mmfpcmS16topcmU16Codec.h" sl@0: #include "mmfpcmS16PcmS8HwDevice.h" sl@0: #include "mmfpcm16topcmU16BEHwDevice.h" sl@0: #include "MmfImaAdpcmtopcm16hwdevice.h" sl@0: #include "mmfpcmU16BeToPcmS16HwDevice.h" sl@0: #include "mmfpcm16ToImaAdpcm.h" sl@0: sl@0: sl@0: sl@0: // _________________________________________________________________________ sl@0: // Exported proxy for instantiation method resolution sl@0: // Define the interface UIDs sl@0: // sl@0: const TImplementationProxy ImplementationTable[] = sl@0: { sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDevicePCM16ToPCM16, CMMFPcm16ToPcm16HwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDevicePCM16ToPCMU8, CMMFPcm16ToPcmU8HwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDevicePCMU8ToPCM16, CMMFPcmU8ToPcm16HwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceMulawToPCM16, CMMFMulawToPcm16CodecHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceAlawToPCM16, CMMFAlawToPcm16CodecHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDevicePCM16ToMuLaw, CMMFPcm16ToMulawHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDevicePCM16ToALaw, CMMFPcm16ToAlawHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDevicePCM16toPCM16B, CMMFPcm16SwapEndianHwDevice::NewL ), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceS16ToPCMU8, CMMFPcm16ToPcmU8HwDevice::NewL ), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceS16ToPCMU16, CMMFPcm16ToPcmU16HwDevice::NewL ), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMMFUidHwDevicePCM16toPCMU16B, CMMFPcm16ToPcmU16BEHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDevicePCM8ToPCM16, CMMFPcm8ToPcm16HwDevice::NewL ), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMMFUidHwDevicePCM16toPCMU16B, CMMFPcm16ToPcmU16BEHwDevice::NewL ), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceS16ToPCMU16, CMMFPcm16ToPcmU16HwDevice::NewL ), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceU16ToPCMS16, CMMFPcmU16ToPcm16HwDevice::NewL ), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceS16ToPCMS8, CMMFPcmS16ToPcmS8HwDevice::NewL ), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMMFUidHwDevicePCM16BtoPCM16, CMMFPcm16SwapEndianHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceU16BEToPCMS16, CMMFPcmU16BeToPcmS16HwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDevicePCM16ToIMAADPCM, CMMFPcm16ToImaAdpcmHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMmfUidHwDeviceIMAADPCMToPCM16, CMMFImaAdpcmToPcm16CodecHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMMFUidHwDevicePCMU16toPCMU16B, CMMFPcm16SwapEndianHwDevice::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(KMMFUidHwDevicePCMU16BtoPCMU16, CMMFPcm16SwapEndianHwDevice::NewL), sl@0: }; sl@0: sl@0: /** sl@0: Exported function, returns a pointer to implemenation table. sl@0: sl@0: @param aTableCount sl@0: Reference to table count. sl@0: sl@0: @return Pointer to the implementation table. sl@0: */ sl@0: EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) sl@0: { sl@0: aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); sl@0: return ImplementationTable; sl@0: }