CMMFMdaAudioInputStream Class Reference
class CMMFMdaAudioInputStream : public CBase |
Nested Classes and Structures
Constructor & Destructor Documentation
CMMFMdaAudioInputStream(MMdaAudioInputStreamCallback &)
~CMMFMdaAudioInputStream()
~CMMFMdaAudioInputStream | ( | ) | |
Member Functions Documentation
BufferToBeEmptied(CMMFBuffer *)
Called when sound device has filled data buffer
BufferToBeFilled(CMMFBuffer *)
ConstructL(TInt, TInt)
void | ConstructL | ( | TInt | aPriority, |
| TInt | aPref |
| ) | [private] |
ConvertError(TInt)
void | ConvertError | ( | TInt | aError | ) | |
DeviceMessage(TUid, const TDesC8 &)
void | DeviceMessage | ( | TUid | aMessageType, |
| const TDesC8 & | aMsg |
| ) | |
Gain()
To get the current gain level
GetBalanceL()
To get the current balance value.This function may not return the same value as passed to SetBalanceL depending on the internal implementation in the underlying components.
GetBytes()
To return the current number of bytes recorded by audio hardware
GetSupportedBitRatesL(RArray< TInt > &)
void | GetSupportedBitRatesL | ( | RArray< TInt > & | aSupportedBitRates | ) | |
InitializeComplete(TInt)
void | InitializeComplete | ( | TInt | aError | ) | |
To be called when intialize stream complete
MaxGain()
To get the maximum gain level
NewL(MMdaAudioInputStreamCallback &)
NewL(MMdaAudioInputStreamCallback &, TInt, TInt)
Open(TMdaPackage *)
Open a audio ouptut stream
PlayError(TInt)
void | PlayError | ( | TInt | aError | ) | |
Called when record operation complete, successfully or otherwise
Position()
To get the current position in the data stream
Read(TDes8 &)
To read data from input stream
-
capability
- UserEnvironment For recording - the requesting client process must have the UserEnvironment capability.
ReadL(TDes8 &)
To read data from input stream
-
capability
- UserEnvironment For recording - the requesting client process must have the UserEnvironment capability.
RealSetAudioPropertiesL(TInt, TInt)
void | RealSetAudioPropertiesL | ( | TInt | aSampleRate, |
| TInt | aChannels |
| ) | [private] |
RecordError(TInt)
void | RecordError | ( | TInt | aError | ) | |
RequestStop()
To pause write data to stream Allow yet unprocessed buffers to be processed and passed back via BufferToBeEmptied. When the last (empty) buffer arrives, Stop is called.
SetAudioPropertiesL(TInt, TInt)
void | SetAudioPropertiesL | ( | TInt | aSampleRate, |
| TInt | aChannels |
| ) | |
Set audio input stream properties
SetBalanceL(TInt)
Set audio input stream balance
SetBitRateL(TInt)
void | SetBitRateL | ( | TInt | aBitRate | ) | |
SetDataTypeL(TFourCC)
void | SetDataTypeL | ( | TFourCC | aAudioType | ) | |
SetGain(TInt)
Set audio input stream gain to the specified value
SetPriority(TInt, TInt)
void | SetPriority | ( | TInt | aPriority, |
| TInt | aPref |
| ) | |
Set audio input stream priority
SetSingleBufferMode(TBool)
void | SetSingleBufferMode | ( | TBool | aSingleMode | ) | |
Stop()
To stop write data to stream
ToneFinished(TInt)
void | ToneFinished | ( | TInt | aError | ) | |
Member Enumerations Documentation
Enum TIsOpenState
Enumerators
EIsNotOpen | |
EIsOpening | |
EIsOpen | |
Enum TState
Enumerators
EStopped | |
ERecording | |
EStopping | |
Member Data Documentation
CActiveCallback * iActiveCallback
CActiveSchedulerWait * iActiveSchedulerWait
TBool
iAudioDataStored
TBool
| iAudioDataStored | [private] |
TPtr8
iBufferPtr
TPtr8
| iBufferPtr | [private] |
TInt
iBytesRecorded
TInt
| iBytesRecorded | [private] |
MMdaAudioInputStreamCallback & iCallback
CMMFFifo< TDes8 > * iFifo
TBool
iInitCallFrmSetDataType
TBool
| iInitCallFrmSetDataType | [private] |
TInt
iInitializeState
TInt
| iInitializeState | [private] |
TIsOpenState
iIsOpenState
TTimeIntervalMicroSeconds
iPosition
TMdaAudioDataSettings
iSettings
TBool
iSingleBuffer
TBool
| iSingleBuffer | [private] |
TPtr8
iStorageItem
TPtr8
| iStorageItem | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.