#include <mmf/server/mmfaudiooutput.h>
class MMMFAudioOutput : public MDataSink |
Public Member Functions | |
---|---|
pure virtual TInt | BytesPlayed() |
pure virtual void | HWEmptyBufferL(CMMFBuffer *, MDataSource *) |
MMMFAudioOutput * | NewAudioOutputL(TUid, const TDesC8 &) |
pure virtual CMMFDevSound & | SoundDevice() |
Protected Member Functions | |
---|---|
MMMFAudioOutput() |
Interface class to allow dynamic linkage to CMMFAudioOutput.
TInt | BytesPlayed | ( | ) | [pure virtual] |
Returns the number of bytes played.
Returns: The number of bytes played. If 16-bit divide this number returned by 2 to get word length.
void | HWEmptyBufferL | ( | CMMFBuffer * | aBuffer, |
MDataSource * | aSupplier | |||
) | [pure virtual] |
Gets audio from hardware device abstracted MMFDevsound (not used).
Parameter | Description |
---|---|
aBuffer | The data to read in from a Hardware Device |
aSupplier | The MDataSink consuming the data contained in aBuffer. |
MMMFAudioOutput * | NewAudioOutputL | ( | TUid | aImplementationUid, |
const TDesC8 & | aInitData | |||
) | [static, inline] |
Gets a new audio output object.
Parameter | Description |
---|---|
aImplementationUid | The implementation UID. |
aInitData | The initialisation data. |
Returns: The audio output object.
CMMFDevSound & | SoundDevice | ( | ) | [pure virtual] |
Returns the sound device.
Accessor function exposing public CMMFDevsound methods.
Returns: A reference to a CMMFDevSound objector.