1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmhais/refacladapt/src/audiosink/audiodevicesink.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,68 @@
1.4 +//audiodevicesink.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 "audiodevicesink.h"
1.24 +
1.25 +// ---------------------------------------------------------------------------
1.26 +// Constructor
1.27 +// ---------------------------------------------------------------------------
1.28 +//
1.29 +CAudioDeviceSink::CAudioDeviceSink()
1.30 + {
1.31 + TRACE_CREATE();
1.32 + DP_CONTEXT(CAudioDeviceSink::CAudioDeviceSink *CD1*, CtxDevSound, DPLOCAL);
1.33 + DP_IN();
1.34 + DP_OUT();
1.35 + }
1.36 +
1.37 +// ---------------------------------------------------------------------------
1.38 +// Factory method
1.39 +// ---------------------------------------------------------------------------
1.40 +//
1.41 +EXPORT_C CAudioDeviceSink* CAudioDeviceSink::NewL()
1.42 + {
1.43 + DP_STATIC_CONTEXT(CAudioDeviceSink::NewL *CD0*, CtxDevSound, DPLOCAL);
1.44 + DP_IN();
1.45 + CAudioDeviceSink* self = new(ELeave)CAudioDeviceSink();
1.46 + CleanupStack::PushL(self);
1.47 + self->ConstructL();
1.48 + CleanupStack::Pop(self);
1.49 + DP0_RET(self, "0x%x");
1.50 + }
1.51 +
1.52 +// ---------------------------------------------------------------------------
1.53 +// Second phase constructor
1.54 +// ---------------------------------------------------------------------------
1.55 +//
1.56 +void CAudioDeviceSink::ConstructL()
1.57 + {
1.58 + DP_CONTEXT(CAudioDeviceSink::ConstructL *CD1*, CtxDevSound, DPLOCAL);
1.59 + DP_IN();
1.60 + DP_OUT();
1.61 + }
1.62 +
1.63 +// ---------------------------------------------------------------------------
1.64 +// Destructor
1.65 +// ---------------------------------------------------------------------------
1.66 +//
1.67 +CAudioDeviceSink::~CAudioDeviceSink()
1.68 + {
1.69 + }
1.70 +
1.71 +// end of file