|
1 //audiodevicesink.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 "audiodevicesink.h" |
|
21 |
|
22 // --------------------------------------------------------------------------- |
|
23 // Constructor |
|
24 // --------------------------------------------------------------------------- |
|
25 // |
|
26 CAudioDeviceSink::CAudioDeviceSink() |
|
27 { |
|
28 TRACE_CREATE(); |
|
29 DP_CONTEXT(CAudioDeviceSink::CAudioDeviceSink *CD1*, CtxDevSound, DPLOCAL); |
|
30 DP_IN(); |
|
31 DP_OUT(); |
|
32 } |
|
33 |
|
34 // --------------------------------------------------------------------------- |
|
35 // Factory method |
|
36 // --------------------------------------------------------------------------- |
|
37 // |
|
38 EXPORT_C CAudioDeviceSink* CAudioDeviceSink::NewL() |
|
39 { |
|
40 DP_STATIC_CONTEXT(CAudioDeviceSink::NewL *CD0*, CtxDevSound, DPLOCAL); |
|
41 DP_IN(); |
|
42 CAudioDeviceSink* self = new(ELeave)CAudioDeviceSink(); |
|
43 CleanupStack::PushL(self); |
|
44 self->ConstructL(); |
|
45 CleanupStack::Pop(self); |
|
46 DP0_RET(self, "0x%x"); |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------------------------- |
|
50 // Second phase constructor |
|
51 // --------------------------------------------------------------------------- |
|
52 // |
|
53 void CAudioDeviceSink::ConstructL() |
|
54 { |
|
55 DP_CONTEXT(CAudioDeviceSink::ConstructL *CD1*, CtxDevSound, DPLOCAL); |
|
56 DP_IN(); |
|
57 DP_OUT(); |
|
58 } |
|
59 |
|
60 // --------------------------------------------------------------------------- |
|
61 // Destructor |
|
62 // --------------------------------------------------------------------------- |
|
63 // |
|
64 CAudioDeviceSink::~CAudioDeviceSink() |
|
65 { |
|
66 } |
|
67 |
|
68 // end of file |