1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmhais/refacladapt/src/audiosource/audiodevicesource.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,72 @@
1.4 +//audiodevicesource.cpp
1.5 +
1.6 +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
1.7 +// All rights reserved.
1.8 +// This component and the accompanying materials are made available
1.9 +// under the terms of "Eclipse Public License v1.0"
1.10 +// which accompanies this distribution, and is available
1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.12 +//
1.13 +// Initial Contributors:
1.14 +// Nokia Corporation - initial contribution.
1.15 +//
1.16 +// Contributors:
1.17 +//
1.18 +// Description:
1.19 +//
1.20 +
1.21 +
1.22 +
1.23 +#include "audiodevicesource.h"
1.24 +#include <a3f/audioprocessingunittypeuids.h>
1.25 +
1.26 +// ---------------------------------------------------------------------------
1.27 +// Constructor
1.28 +// ---------------------------------------------------------------------------
1.29 +//
1.30 +CAudioDeviceSource::CAudioDeviceSource()
1.31 + {
1.32 + TRACE_CREATE();
1.33 + DP_CONTEXT(CAudioDeviceSource::CAudioDeviceSource, CtxDevSound, DPLOCAL);
1.34 + DP_IN();
1.35 + DP_OUT();
1.36 + }
1.37 +
1.38 +// ---------------------------------------------------------------------------
1.39 +// Factory method
1.40 +// ---------------------------------------------------------------------------
1.41 +//
1.42 +EXPORT_C CAudioDeviceSource* CAudioDeviceSource::NewL()
1.43 + {
1.44 + DP_STATIC_CONTEXT(CAudioDeviceSource::NewL, CtxDevSound, DPLOCAL);
1.45 + DP_IN();
1.46 + CAudioDeviceSource* self = new(ELeave)CAudioDeviceSource();
1.47 + CleanupStack::PushL(self);
1.48 + self->ConstructL();
1.49 + CleanupStack::Pop(self);
1.50 + DP0_RET(self, "%x");
1.51 + }
1.52 +
1.53 +// ---------------------------------------------------------------------------
1.54 +// Second phase constructor
1.55 +// ---------------------------------------------------------------------------
1.56 +//
1.57 +void CAudioDeviceSource::ConstructL()
1.58 + {
1.59 + DP_CONTEXT(CAudioDeviceSource::ConstructL, CtxDevSound, DPLOCAL);
1.60 + DP_IN();
1.61 + DP_OUT();
1.62 + }
1.63 +
1.64 +// ---------------------------------------------------------------------------
1.65 +// Destructor
1.66 +// ---------------------------------------------------------------------------
1.67 +//
1.68 +CAudioDeviceSource::~CAudioDeviceSource()
1.69 + {
1.70 + DP_CONTEXT(CAudioDeviceSource::~CAudioDeviceSource, CtxDevSound, DPLOCAL);
1.71 + DP_IN();
1.72 + DP_OUT();
1.73 + }
1.74 +
1.75 +// end of file