os/mm/mmhais/a3facl/src/audiodevicesink/logicalaudiodevicesink.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2007-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 CLOGICALAUDIODEVICESINK_H
    21 #define CLOGICALAUDIODEVICESINK_H
    22 
    23 #include <e32base.h>
    24 #include <f32file.h>
    25 #include <a3f/a3f_trace_utils.h>
    26 #include "audioprocessingunit.h"
    27 
    28 class MLogicalSettingObserver;
    29 
    30 /**
    31 This is the implementation of CAudioSink API.
    32 
    33 @see CAudioComponent
    34 */
    35 NONSHARABLE_CLASS(CLogicalAudioDeviceSink) :	public CAudioProcessingUnit
    36 	{
    37 friend class CAudioContext;
    38 friend class CLogicalAudioStream;
    39 public:
    40 
    41 	/**
    42 	* Destructor.
    43 	*
    44 	* Deletes all objects and releases all resource owned by this instance.
    45 	*/
    46 	virtual ~CLogicalAudioDeviceSink();
    47 
    48 	// from base class CAudioProcessingUnit
    49 	virtual TBool IsTypeOf(TUid aTypeId) const;
    50 
    51 	/**
    52 	* Create a new instance.
    53 	*
    54 	* @return CAudioDeviceSink* a pointer to the created instance.
    55 	*/
    56 	static CLogicalAudioDeviceSink* NewL(TAny* aParam);
    57 
    58 private:
    59 
    60 	void ConstructL();
    61 
    62 	CLogicalAudioDeviceSink(TAny* aParam);
    63 	};
    64 
    65 #endif // C_LOGICALAUDIODEVICESINK_H