RMMFAudioControllerCustomCommands Class Reference
class RMMFAudioControllerCustomCommands : public RMMFCustomCommandsBase |
Client class to access functionality specific to an audio controller.
The class uses the custom command function of the controller plugin, and removes the necessity for the client to formulate the custom commands.
Inherits from
- RMMFAudioControllerCustomCommands
Constructor & Destructor Documentation
RMMFAudioControllerCustomCommands(RMMFController &)
IMPORT_C | RMMFAudioControllerCustomCommands | ( | RMMFController & | aController | ) | |
Parameters
RMMFController & aController | The client side controller object to be used by this custom command interface. |
Member Functions Documentation
DoGetFourCCArrayL(RArray< TFourCC > &, TMMFAudioControllerMessages)
DoGetUintArrayL(RArray< TUint > &, TMMFAudioControllerMessages)
GetSinkBitRate(TUint &)
IMPORT_C TInt | GetSinkBitRate | ( | TUint & | aRate | ) | const |
Gets the bit rate of the data sink in bits per second.
Parameters
TUint & aRate | The bit rate, in bits per second. |
GetSinkDataType(TFourCC &)
Gets the fourCC code of the sink.
Parameters
TFourCC & aDataType | The fourCC code. |
GetSinkFormat(TUid &)
IMPORT_C TInt | GetSinkFormat | ( | TUid & | aFormat | ) | const |
Gets the format of the data sink.
The UID corresponds to the UID of the CMMFFormat-derived ECOM plugin being used.
Parameters
TUid & aFormat | The format plugin being used. |
GetSinkNumChannels(TUint &)
IMPORT_C TInt | GetSinkNumChannels | ( | TUint & | aNumChannels | ) | const |
Gets the number of channels in the data sink. For example, one channel for mono, two channels for stereo etc.
Parameters
TUint & aNumChannels | The number of channels. |
GetSinkSampleRate(TUint &)
IMPORT_C TInt | GetSinkSampleRate | ( | TUint & | aRate | ) | const |
Gets the sample rate of the data sink in samples per second.
Parameters
TUint & aRate | The sample rate, in samples per second. |
GetSourceBitRate(TUint &)
IMPORT_C TInt | GetSourceBitRate | ( | TUint & | aRate | ) | const |
Gets the bit rate of the data source in bits per second.
Parameters
TUint & aRate | The bit rate, in bits per second. |
GetSourceDataType(TFourCC &)
IMPORT_C TInt | GetSourceDataType | ( | TFourCC & | aDataType | ) | const |
Get the fourCC code of the source.
Parameters
TFourCC & aDataType | The fourCC code. |
GetSourceFormat(TUid &)
IMPORT_C TInt | GetSourceFormat | ( | TUid & | aFormat | ) | const |
Gets the format of the data source.
The UID corresponds to the UID of the CMMFFormat-derived ECOM plugin being used.
Parameters
TUid & aFormat | The format plugin being used. |
GetSourceNumChannels(TUint &)
IMPORT_C TInt | GetSourceNumChannels | ( | TUint & | aNumChannels | ) | const |
Gets the number of channels in the data source. For example, one channel for mono, two channels for stereo etc.
Parameters
TUint & aNumChannels | The number of channels. |
GetSourceSampleRate(TUint &)
IMPORT_C TInt | GetSourceSampleRate | ( | TUint & | aRate | ) | const |
Gets the sample rate of the data source in samples per second.
Parameters
TUint & aRate | The sample rate, in samples per second. |
GetSupportedSinkBitRatesL(RArray< TUint > &)
IMPORT_C void | GetSupportedSinkBitRatesL | ( | RArray< TUint > & | aSupportedRates | ) | const |
Gets the list of bit rates supported by the data sink.
Warning: Existing objects in this array will be removed by this method.
GetSupportedSinkDataTypesL(RArray< TFourCC > &)
IMPORT_C void | GetSupportedSinkDataTypesL | ( | RArray< TFourCC > & | aSupportedDataTypes | ) | const |
Gets the list of fourCC codes supported by the data sink.
Warning: Existing objects in this array will be removed by this method.
GetSupportedSinkNumChannelsL(RArray< TUint > &)
IMPORT_C void | GetSupportedSinkNumChannelsL | ( | RArray< TUint > & | aSupportedChannels | ) | const |
Gets the list of channels supported by the data sink (ie mono, stereo etc).
Warning: Existing objects in this array will be removed by this method.
Parameters
RArray< TUint > & aSupportedChannels | The supported channels. |
GetSupportedSinkSampleRatesL(RArray< TUint > &)
IMPORT_C void | GetSupportedSinkSampleRatesL | ( | RArray< TUint > & | aSupportedRates | ) | const |
Gets the list of sample rates supported by the data sink.
Warning: Existing objects in this array will be removed by this method.
GetSupportedSourceBitRatesL(RArray< TUint > &)
IMPORT_C void | GetSupportedSourceBitRatesL | ( | RArray< TUint > & | aSupportedRates | ) | const |
Gets the list of bit rates supported by the data source.
Warning: Existing objects in this array will be removed by this function.
GetSupportedSourceDataTypesL(RArray< TFourCC > &)
IMPORT_C void | GetSupportedSourceDataTypesL | ( | RArray< TFourCC > & | aSupportedDataTypes | ) | const |
Gets the list of fourCC codes supported by the data source.
Warning: Existing objects in this array will be removed by this method.
GetSupportedSourceNumChannelsL(RArray< TUint > &)
IMPORT_C void | GetSupportedSourceNumChannelsL | ( | RArray< TUint > & | aSupportedChannels | ) | const |
Gets the list of channels supported by the data source (ie mono, stereo etc).
Warning: Existing objects in this array will be removed by this method.
Parameters
RArray< TUint > & aSupportedChannels | The supported channels. |
GetSupportedSourceSampleRatesL(RArray< TUint > &)
IMPORT_C void | GetSupportedSourceSampleRatesL | ( | RArray< TUint > & | aSupportedRates | ) | const |
Gets the list of sample rates supported by the data source.
Warning: Existing objects in this array will be removed by this function.
SetCodec(TFourCC, TFourCC)
Sets the codec to be used. Useful when recording data.
Parameters
TFourCC aSourceDataType | The data type of the source of the codec. |
TFourCC aSinkDataType | The data type of the sink of the codec. |
SetSinkBitRate(TUint)
Set the bit rate of the data sink in bits per second.
Parameters
TUint aRate | The bit rate, in bits per second. |
SetSinkDataType(TFourCC)
Set the fourCC code of the sink.
SetSinkFormat(TUid)
IMPORT_C TInt | SetSinkFormat | ( | TUid | aFormatUid | ) | const |
Sets the format of the data sink.
The UID corresponds to the UID of the CMMFFormat-derived ECOM plugin to be used.
Parameters
TUid aFormatUid | The format plugin to be used. |
SetSinkNumChannels(TUint)
IMPORT_C TInt | SetSinkNumChannels | ( | TUint | aNumChannels | ) | const |
Sets the number of channels in the data sink. For example, one channel for mono, two channels for stereo etc.
Parameters
TUint aNumChannels | The number of channels. |
SetSinkSampleRate(TUint)
IMPORT_C TInt | SetSinkSampleRate | ( | TUint | aSampleRate | ) | const |
Sets the sample rate of the data sink in samples per second.
Parameters
TUint aSampleRate | The sample rate, in samples per second. |
SetSourceBitRate(TUint)
IMPORT_C TInt | SetSourceBitRate | ( | TUint | aRate | ) | const |
Sets the bit rate of the data source in bits per second.
Parameters
TUint aRate | The bit rate, in bits per second. |
SetSourceDataType(TFourCC)
Sets the fourCC code of the source.
SetSourceFormat(TUid)
IMPORT_C TInt | SetSourceFormat | ( | TUid | aFormatUid | ) | const |
Sets the format of the data source.
The UID corresponds to the UID of the CMMFFormat-derived ECOM plugin to be used.
Parameters
TUid aFormatUid | The format plugin to be used. |
SetSourceNumChannels(TUint)
IMPORT_C TInt | SetSourceNumChannels | ( | TUint | aNumChannels | ) | const |
Sets the number of channels in the data source. For example, one channel for mono, two channels for stereo etc.
Parameters
TUint aNumChannels | The number of channels. |
SetSourceSampleRate(TUint)
IMPORT_C TInt | SetSourceSampleRate | ( | TUint | aSampleRate | ) | const |
Sets the sample rate of the data source in samples per second.
Parameters
TUint aSampleRate | The sample rate, in samples per second. |
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.