#include <mmf/server/mmfaudioinput.h>
class MMMFAudioInput : public MDataSource |
Public Member Functions | |
---|---|
pure virtual TInt | BytesPlayed() |
pure virtual void | HWFillBufferL(CMMFBuffer *, MDataSink *) |
MMMFAudioInput * | NewAudioInputL(TUid, const TDesC8 &) |
pure virtual CMMFDevSound & | SoundDevice() |
Protected Member Functions | |
---|---|
MMMFAudioInput() |
Interface class to allow dynamic linkage to CMMFAudioInput.
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 | HWFillBufferL | ( | CMMFBuffer * | aBuffer, |
MDataSink * | aConsumer | |||
) | [pure virtual] |
Gets audio from hardware device abstracted MMFDevsound (not used).
Parameter | Description |
---|---|
aBuffer | The data to read in from a Hardware Device |
aConsumer | The MDataSink consuming the data contained in aBuffer. |
MMMFAudioInput * | NewAudioInputL | ( | TUid | aImplementationUid, |
const TDesC8 & | aInitData | |||
) | [static, inline] |
Allocates and constructs an audio input object.
Calls MDataSource::NewSourceL().
Parameter | Description |
---|---|
aImplementationUid | The Implementation UID. |
aInitData | The initialisation data. |
Returns: A new audio input object.
CMMFDevSound & | SoundDevice | ( | ) | [pure virtual] |
Returns the sound device.
Returns: A reference to a CMMFDevSound objector. Accessor function exposing public CMMFDevsound methods.