os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/CIPlugins/src/devsoundciutestdevices.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #include <ecom/implementationproxy.h>
    17 #include <ecom/ecom.h>
    18 #include "devsoundciutestdevices.hrh"
    19 #include "aacdecoderconfigtestdevice.h"
    20 #include "g729encoderconfigtestdevice.h"
    21 #include "g729decoderconfigtestdevice.h"
    22 #include "audiovibracontroltestdevice.h"
    23 #include "audiobufferprefilltestdevice.h"
    24 #include "audiodspcontroltestdevice.h"
    25 #include "speechencoderconfigtestdevice.h"
    26 #include "g711decoderconfigtestdevice.h"
    27 #include "g711encoderconfigtestdevice.h"
    28 #include "ilbcdecoderconfigtestdevice.h"
    29 #include "ilbcencoderconfigtestdevice.h"
    30 #include "errorconcealmenttestdevice.h"
    31 #include "gsmconfigtestdevice.h"
    32 #include "underflowautostopcontroltestdevice.h"
    33 #include "playbackstatustestdevice.h"
    34 #include "sbcencodertestdevice.h"
    35 #include "eaacplusdecodertestdevice.h"
    36 #include "setdrmprotectedtestdevice.h"
    37 #include "advancedaacencodesettingstestdevice.h"
    38 #include "bufferframesconfigtestdevice.h"
    39 #include "gettimestampstestdevice.h"
    40 #include "playbackstatustestdevice.h"
    41 #include "sbcencodertestdevice.h"
    42 #include "eaacplusdecodertestdevice.h"
    43 #include "setdrmprotectedtestdevice.h"
    44 #include "advancedaacencodesettingstestdevice.h"
    45 #include "bufferframesconfigtestdevice.h"
    46 #include "gettimestampstestdevice.h"
    47 #ifdef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
    48 #include "MMFDevSoundCIMuxDeMuxPluginImp.h"
    49 #endif
    50 
    51 const TImplementationProxy ImplementationTable[] =
    52 	{
    53 	IMPLEMENTATION_PROXY_ENTRY(KUidAacDecoderConfigTestDevice,	CAacDecoderConfigTestDevice::NewL),
    54 	IMPLEMENTATION_PROXY_ENTRY(KUidG729EncoderConfigTestDevice,	CG729EncoderConfigTestDevice::NewL),
    55 	IMPLEMENTATION_PROXY_ENTRY(KUidG729DecoderConfigTestDevice,	CG729DecoderConfigTestDevice::NewL),
    56 	IMPLEMENTATION_PROXY_ENTRY(KUidAudioVibraControlTestDevice,	CAudioVibraControlTestDevice::NewL),
    57 	IMPLEMENTATION_PROXY_ENTRY(KUidSampleBufferingTestDevice,	CSampleBufferingTestDevice::NewL),
    58 	IMPLEMENTATION_PROXY_ENTRY(KUidAudioDspControlTestDevice,	CAudioDspControlTestDevice::NewL),
    59 	IMPLEMENTATION_PROXY_ENTRY(KUidSpeechEncoderConfigTestDevice,	CSpeechEncoderConfigTestDevice::NewL),
    60 	IMPLEMENTATION_PROXY_ENTRY(KUidG711DecoderConfigTestDevice,		CG711DecoderConfigTestDevice::NewL),
    61 	IMPLEMENTATION_PROXY_ENTRY(KUidG711EncoderConfigTestDevice,		CG711EncoderConfigTestDevice::NewL),
    62 	IMPLEMENTATION_PROXY_ENTRY(KUidIlbcDecoderIntfcTestDevice,		CIlbcDecoderConfigTestDevice::NewL),
    63 	IMPLEMENTATION_PROXY_ENTRY(KUidIlbcEncoderIntfcTestDevice,		CIlbcEncoderConfigTestDevice::NewL),
    64 	IMPLEMENTATION_PROXY_ENTRY(KUidErrorConcealmentIntfcTestDevice,	CErrorConcealmentTestDevice::NewL),
    65 	IMPLEMENTATION_PROXY_ENTRY(KUidGsmConfigTestDevice,				CGsmConfigTestDevice::NewL),
    66 	IMPLEMENTATION_PROXY_ENTRY(KUidUnderflowAutoStopControlTestDevice,	CUnderflowAutoStopControlTestDevice::NewL),
    67 	IMPLEMENTATION_PROXY_ENTRY(KUidPlayBackStatusTestDevice, CPlaybackStatusTestDevice::NewL),
    68 	IMPLEMENTATION_PROXY_ENTRY(KUidSbcEncoderTestDevice, CSbcEncoderTestDevice::NewL),
    69 	IMPLEMENTATION_PROXY_ENTRY(KUidEAacPlusDecoderTestDevice, CEAacPlusDecoderTestDevice::NewL),
    70 	IMPLEMENTATION_PROXY_ENTRY(KUidSetDrmProtectedTestDevice, CSetDRMProtectedTestDevice::NewL),
    71 	IMPLEMENTATION_PROXY_ENTRY(KUidAdvancedAacEncodeSettingsTestDevice, CAdvancedAacEncodeSettingsTestDevice::NewL),
    72 	IMPLEMENTATION_PROXY_ENTRY(KUidBufferFramesConfigTestDevice, CBufferFramesConfigTestDevice::NewL),
    73 	IMPLEMENTATION_PROXY_ENTRY(KUidGetTimestampsTestDevice, CGetTimestampsTestDevice::NewL),
    74 	IMPLEMENTATION_PROXY_ENTRY(KUidPlayBackStatusTestDevice, CPlaybackStatusTestDevice::NewL),
    75 	IMPLEMENTATION_PROXY_ENTRY(KUidSbcEncoderTestDevice, CSbcEncoderTestDevice::NewL),
    76 	IMPLEMENTATION_PROXY_ENTRY(KUidEAacPlusDecoderTestDevice, CEAacPlusDecoderTestDevice::NewL),
    77 	IMPLEMENTATION_PROXY_ENTRY(KUidSetDrmProtectedTestDevice, CSetDRMProtectedTestDevice::NewL),
    78 	IMPLEMENTATION_PROXY_ENTRY(KUidAdvancedAacEncodeSettingsTestDevice, CAdvancedAacEncodeSettingsTestDevice::NewL),
    79 	IMPLEMENTATION_PROXY_ENTRY(KUidBufferFramesConfigTestDevice, CBufferFramesConfigTestDevice::NewL),
    80 	IMPLEMENTATION_PROXY_ENTRY(KUidGetTimestampsTestDevice, CGetTimestampsTestDevice::NewL),
    81 #ifdef SYMBIAN_MULTIMEDIA_A3FDEVSOUND
    82 	IMPLEMENTATION_PROXY_ENTRY(KUidMmfDevSoundCustomInterfaceMuxPlugin,	CMMFDevSoundCIMuxPluginImp::NewL),
    83 	IMPLEMENTATION_PROXY_ENTRY(KUidMmfDevSoundCustomInterfaceDeMuxPlugin,	CMMFDevSoundCIDemuxPluginImp::NewL)
    84 #endif	
    85 	};
    86 
    87 //
    88 // ImplementationGroupProxy
    89 //
    90 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
    91 	{
    92 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    93 
    94 	return ImplementationTable;
    95 	}
    96 
    97 #ifndef EKA2
    98 /** DLL Entry point */
    99 GLDEF_C TInt E32Dll(TDllReason /*aReason*/)
   100 	{
   101 	return(KErrNone);
   102 	}
   103 #endif