os/mm/mmhais/a3facl/src/audiodevicesource/logicalaudiodevicesource.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 
    18 
    19 
    20 #ifndef CLOGICALAUDIODEVICESOURCE_H
    21 #define CLOGICALAUDIODEVICESOURCE_H
    22 
    23 #include <e32base.h>
    24 #include <f32file.h>
    25 #include <a3f/a3f_trace_utils.h>
    26 #include <a3f/a3fbase.h>
    27 #include "audioprocessingunit.h"
    28 
    29 class MLogicalSettingObserver;
    30 
    31 /**
    32 
    33 */
    34 NONSHARABLE_CLASS(CLogicalAudioDeviceSource) :	public CAudioProcessingUnit
    35 	{
    36 friend class CAudioContext;
    37 friend class CLogicalAudioStream;
    38 public:
    39 
    40 	/**
    41 	Destructor.
    42 
    43 	Deletes all objects and releases all resource owned by this instance.
    44 	*/
    45 	virtual ~CLogicalAudioDeviceSource();
    46 
    47 	// from CAudioProcessingUnit
    48 	virtual TBool IsTypeOf(TUid aTypeId) const;
    49 
    50 	/**
    51 	Create a new instance.
    52 
    53 	@return CBufferSource* a pointer to the created instance.
    54 	*/
    55 	static CLogicalAudioDeviceSource* NewL(TAny* aParam);
    56 private:
    57 	void ConstructL();
    58 
    59 	CLogicalAudioDeviceSource(TAny* aParam);
    60 	};
    61 
    62 #endif // C_LOGICAL_AUDIOSOURCE_H