mmhais/refacladapt/src/audiosource/audiodevicesource.cpp
changeset 0 79dd3e2336a0
equal deleted inserted replaced
-1:000000000000 0:79dd3e2336a0
       
     1 //audiodevicesource.cpp
       
     2 
       
     3 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 // All rights reserved.
       
     5 // This component and the accompanying materials are made available
       
     6 // under the terms of "Eclipse Public License v1.0"
       
     7 // which accompanies this distribution, and is available
       
     8 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 //
       
    10 // Initial Contributors:
       
    11 // Nokia Corporation - initial contribution.
       
    12 //
       
    13 // Contributors:
       
    14 //
       
    15 // Description:
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 #include "audiodevicesource.h"
       
    21 #include <a3f/audioprocessingunittypeuids.h>
       
    22 
       
    23 // ---------------------------------------------------------------------------
       
    24 // Constructor
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 CAudioDeviceSource::CAudioDeviceSource()
       
    28 	{
       
    29 	TRACE_CREATE();
       
    30 	DP_CONTEXT(CAudioDeviceSource::CAudioDeviceSource, CtxDevSound, DPLOCAL);
       
    31 	DP_IN();
       
    32 	DP_OUT();
       
    33 	}
       
    34 
       
    35 // ---------------------------------------------------------------------------
       
    36 // Factory method
       
    37 // ---------------------------------------------------------------------------
       
    38 //
       
    39 EXPORT_C CAudioDeviceSource* CAudioDeviceSource::NewL()
       
    40 	{
       
    41 	DP_STATIC_CONTEXT(CAudioDeviceSource::NewL, CtxDevSound, DPLOCAL);
       
    42 	DP_IN();
       
    43 	CAudioDeviceSource* self = new(ELeave)CAudioDeviceSource();
       
    44 	CleanupStack::PushL(self);
       
    45 	self->ConstructL();
       
    46 	CleanupStack::Pop(self);
       
    47 	DP0_RET(self, "%x");
       
    48 	}
       
    49 
       
    50 // ---------------------------------------------------------------------------
       
    51 // Second phase constructor
       
    52 // ---------------------------------------------------------------------------
       
    53 //
       
    54 void CAudioDeviceSource::ConstructL()
       
    55 	{
       
    56 	DP_CONTEXT(CAudioDeviceSource::ConstructL, CtxDevSound, DPLOCAL);
       
    57 	DP_IN();
       
    58 	DP_OUT();
       
    59 	}
       
    60 
       
    61 // ---------------------------------------------------------------------------
       
    62 // Destructor
       
    63 // ---------------------------------------------------------------------------
       
    64 //
       
    65 CAudioDeviceSource::~CAudioDeviceSource()
       
    66 	{
       
    67 	DP_CONTEXT(CAudioDeviceSource::~CAudioDeviceSource, CtxDevSound, DPLOCAL);
       
    68 	DP_IN();
       
    69 	DP_OUT();
       
    70 	}
       
    71 
       
    72 // end of file