epoc32/include/mmf/server/mmfaudiooutput.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    18 
    18 
    19 // Standard EPOC32 includes required by this header file
    19 // Standard EPOC32 includes required by this header file
    20 #include <e32base.h>
    20 #include <e32base.h>
    21 #include <e32std.h>
    21 #include <e32std.h>
    22 
    22 
    23 #include <mmfaudioiointerfaceuids.hrh>
       
    24 
    23 
    25 #include <mmf/common/mmfpaniccodes.h>
    24 #include <mmf/common/mmfpaniccodes.h>
    26 
    25 
    27 //DevSound
    26 //DevSound
    28 #include <mmf/server/sounddevice.h>
    27 #include <mmf/server/sounddevice.h>
   111 
   110 
   112 Abstract data sink class providing an interface into hardware sound output.
   111 Abstract data sink class providing an interface into hardware sound output.
   113 
   112 
   114 Uses CMMFDevSound to access such output.
   113 Uses CMMFDevSound to access such output.
   115 */
   114 */
       
   115 class CMMFChannelAndSampleRateConverterFactory;
       
   116 class CMMFChannelAndSampleRateConverter;
   116 class CMMFAudioOutput : public CBase, public MMMFAudioOutput, public MDevSoundObserver
   117 class CMMFAudioOutput : public CBase, public MMMFAudioOutput, public MDevSoundObserver
   117 
   118 
   118 	{
   119 	{
   119 public:
   120 public:
   120 	static MDataSink* NewSinkL() ;
   121 	static MDataSink* NewSinkL() ;
   121 	virtual CMMFAudioOutput::~CMMFAudioOutput();
   122 	virtual ~CMMFAudioOutput();
   122 	void ConstructL();
   123 	void ConstructL();
   123 
   124 
   124 	//MDataSink mixin implementations
   125 	//MDataSink mixin implementations
   125 	virtual TFourCC SinkDataTypeCode(TMediaId aMediaId); //used by data path MDataSource/Sink for codec matching
   126 	virtual TFourCC SinkDataTypeCode(TMediaId aMediaId); //used by data path MDataSource/Sink for codec matching
   126 	virtual void EmptyBufferL(CMMFBuffer* aBuffer, MDataSource* aSupplier, TMediaId aMediaId);//called by a MDataSource to empty a buffer
   127 	virtual void EmptyBufferL(CMMFBuffer* aBuffer, MDataSource* aSupplier, TMediaId aMediaId);//called by a MDataSource to empty a buffer