os/mm/devsound/a3fdevsound/src/devsoundadaptor/cdevgencontrol.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2006-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 
    17 
    18 #include "cdevgencontrol.h"
    19 
    20 #include <a3f/maudiocontext.h>
    21 #include <a3f/audioprocessingunittypeuids.h>
    22 #include <a3f/mbuffersource.h>
    23 #include <a3f/maudiocodec.h>
    24 #include <a3f/maudiogaincontrol.h>
    25 
    26 
    27 // ======== LOCAL FUNCTIONS ========
    28 
    29 // ======== MEMBER FUNCTIONS ========
    30 
    31 // ---------------------------------------------------------------------------
    32 // Default constructor
    33 // ---------------------------------------------------------------------------
    34 //
    35 CDevGenControl::CDevGenControl()
    36 	{
    37 	TRACE_CREATE();
    38 	DP_CONTEXT(CDevGenControl::CDevGenControl *CD1*, CtxDevSound, DPLOCAL);
    39 	DP_IN();
    40 
    41 	DP_OUT();
    42 	}
    43 
    44 // -----------------------------------------------------------------------------
    45 // Symbian 2nd phase constructor
    46 // -----------------------------------------------------------------------------
    47 //
    48 void CDevGenControl::ConstructL(CDevAudio* aDevAudio, MDevSoundAdaptationObserver& aDevSoundObserver)
    49 	{
    50 	DP_CONTEXT(CDevGenControl::ConstructL *CD1*, CtxDevSound, DPLOCAL);
    51 	DP_IN();
    52 	CDevAudioControl::ConstructL(aDevAudio, aDevSoundObserver);
    53 	DP_OUT();
    54 	}
    55 
    56 // -----------------------------------------------------------------------------
    57 // Symbian constructor
    58 // -----------------------------------------------------------------------------
    59 //
    60 CDevGenControl* CDevGenControl::NewL(CDevAudio* aDevAudio, MDevSoundAdaptationObserver& aDevSoundObserver)
    61 	{
    62 	DP_STATIC_CONTEXT(CDevGenControl::NewL *CD0*, CtxDevSound, DPLOCAL);
    63 	DP_IN();
    64 	CDevGenControl* self = new (ELeave) CDevGenControl();
    65 	CleanupStack::PushL(self);
    66 	self->ConstructL(aDevAudio, aDevSoundObserver);
    67 	CleanupStack::Pop(self);
    68 	DP0_RET(self, "0x%x");
    69 	}
    70 
    71 // ---------------------------------------------------------------------------
    72 // Destructor
    73 // ---------------------------------------------------------------------------
    74 //
    75 CDevGenControl::~CDevGenControl()
    76 	{
    77 	DP_CONTEXT(CDevGenControl::~CDevGenControl *CD1*, CtxDevSound, DPLOCAL);
    78 	DP_IN();
    79 	DP_OUT();
    80 	}
    81 
    82 // End of file