Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: mmfstandardcustomcommands.h

Class MMMFAudioControllerCustomCommandImplementor

class MMMFAudioControllerCustomCommandImplementor;

Description

Mixin class to be derived from by controller plugins wishing to support the audio record controller custom commands.

Members

Defined in MMMFAudioControllerCustomCommandImplementor:
MacGetSinkBitRateL(), MacGetSinkDataTypeL(), MacGetSinkFormatL(), MacGetSinkNumChannelsL(), MacGetSinkSampleRateL(), MacGetSourceBitRateL(), MacGetSourceDataTypeL(), MacGetSourceFormatL(), MacGetSourceNumChannelsL(), MacGetSourceSampleRateL(), MacGetSupportedSinkBitRatesL(), MacGetSupportedSinkDataTypesL(), MacGetSupportedSinkNumChannelsL(), MacGetSupportedSinkSampleRatesL(), MacGetSupportedSourceBitRatesL(), MacGetSupportedSourceDataTypesL(), MacGetSupportedSourceNumChannelsL(), MacGetSupportedSourceSampleRatesL(), MacSetCodecL(), MacSetSinkBitRateL(), MacSetSinkDataTypeL(), MacSetSinkFormatL(), MacSetSinkNumChannelsL(), MacSetSinkSampleRateL(), MacSetSourceBitRateL(), MacSetSourceDataTypeL(), MacSetSourceFormatL(), MacSetSourceNumChannelsL(), MacSetSourceSampleRateL()


Member functions


MacSetSourceSampleRateL()

virtual void MacSetSourceSampleRateL(TUint aSampleRate)=0;

Description

Sets the sample rate of the data source in samples per second.

Parameters

TUint aSampleRate

The sample rate, in samples per second.


MacSetSourceBitRateL()

virtual void MacSetSourceBitRateL(TUint aBitRate)=0;

Description

Sets the bit rate of the data source in bits per second.

Parameters

TUint aBitRate

The bit rate, in bits per second.


MacSetSourceNumChannelsL()

virtual void MacSetSourceNumChannelsL(TUint aNumChannels)=0;

Description

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.


MacSetSourceFormatL()

virtual void MacSetSourceFormatL(TUid aFormatUid)=0;

Description

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.


MacSetSourceDataTypeL()

virtual void MacSetSourceDataTypeL(TFourCC aDataType)=0;

Description

Sets the fourCC code of the source.

Parameters

TFourCC aDataType

The fourCC code.


MacSetSinkSampleRateL()

virtual void MacSetSinkSampleRateL(TUint aSampleRate)=0;

Description

Sets the sample rate of the data sink in samples per second.

Parameters

TUint aSampleRate

The sample rate, in samples per second.


MacSetSinkBitRateL()

virtual void MacSetSinkBitRateL(TUint aRate)=0;

Description

Sets the bit rate of the data sink in bits per second.

Parameters

TUint aRate

The bit rate, in bits per second.


MacSetSinkNumChannelsL()

virtual void MacSetSinkNumChannelsL(TUint aNumChannels)=0;

Description

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.


MacSetSinkFormatL()

virtual void MacSetSinkFormatL(TUid aFormatUid)=0;

Description

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.


MacSetSinkDataTypeL()

virtual void MacSetSinkDataTypeL(TFourCC aDataType)=0;

Description

Sets the fourCC code of the sink.

Parameters

TFourCC aDataType

The fourCC code.


MacSetCodecL()

virtual void MacSetCodecL(TFourCC aSourceDataType, TFourCC aSinkDataType)=0;

Description

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.


MacGetSourceSampleRateL()

virtual void MacGetSourceSampleRateL(TUint &aRate)=0;

Description

Gets the sample rate of the data source in samples per second.

Parameters

TUint &aRate

The sample rate, in samples per second.


MacGetSourceBitRateL()

virtual void MacGetSourceBitRateL(TUint &aRate)=0;

Description

Gets the bit rate of the data source in bits per second.

Parameters

TUint &aRate

The bit rate, in bits per second.


MacGetSourceNumChannelsL()

virtual void MacGetSourceNumChannelsL(TUint &aNumChannels)=0;

Description

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.


MacGetSourceFormatL()

virtual void MacGetSourceFormatL(TUid &aFormat)=0;

Description

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.


MacGetSourceDataTypeL()

virtual void MacGetSourceDataTypeL(TFourCC &aDataType)=0;

Description

Gets the fourCC code of the source.

Parameters

TFourCC &aDataType

The fourCC code.


MacGetSinkSampleRateL()

virtual void MacGetSinkSampleRateL(TUint &aRate)=0;

Description

Gets the sample rate of the data sink in samples per second.

Parameters

TUint &aRate

The sample rate, in samples per second.


MacGetSinkBitRateL()

virtual void MacGetSinkBitRateL(TUint &aRate)=0;

Description

Gets the bit rate of the data sink in bits per second.

Parameters

TUint &aRate

The bit rate, in bits per second.


MacGetSinkNumChannelsL()

virtual void MacGetSinkNumChannelsL(TUint &aNumChannels)=0;

Description

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.


MacGetSinkFormatL()

virtual void MacGetSinkFormatL(TUid &aFormat)=0;

Description

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.


MacGetSinkDataTypeL()

virtual void MacGetSinkDataTypeL(TFourCC &aDataType)=0;

Description

Gets the fourCC code of the sink.

Parameters

TFourCC &aDataType

The fourCC code.


MacGetSupportedSourceSampleRatesL()

virtual void MacGetSupportedSourceSampleRatesL(RArray< TUint > &aSupportedRates)=0;

Description

Gets the list of sample rates supported by the data source.

Parameters

RArray< TUint > &aSupportedRates

The supported rates. Warning: Existing objects in this array will be removed by this method.


MacGetSupportedSourceBitRatesL()

virtual void MacGetSupportedSourceBitRatesL(RArray< TUint > &aSupportedRates)=0;

Description

Gets the list of bit rates supported by the data source.

Warning: Existing objects in this array will be removed by this method.

Parameters

RArray< TUint > &aSupportedRates

The supported rates.


MacGetSupportedSourceNumChannelsL()

virtual void MacGetSupportedSourceNumChannelsL(RArray< TUint > &aSupportedChannels)=0;

Description

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.


MacGetSupportedSourceDataTypesL()

virtual void MacGetSupportedSourceDataTypesL(RArray< TFourCC > &aSupportedDataTypes)=0;

Description

Gets the list of fourCC codes supported by the data source.

Warning: Existing objects in this array will be removed by this method.

Parameters

RArray< TFourCC > &aSupportedDataTypes

The supported data types.


MacGetSupportedSinkSampleRatesL()

virtual void MacGetSupportedSinkSampleRatesL(RArray< TUint > &aSupportedRates)=0;

Description

Gets the list of sample rates supported by the data sink.

Warning: Existing objects in this array will be removed by this method.

Parameters

RArray< TUint > &aSupportedRates

The supported rates.


MacGetSupportedSinkBitRatesL()

virtual void MacGetSupportedSinkBitRatesL(RArray< TUint > &aSupportedRates)=0;

Description

Gets the list of bit rates supported by the data sink.

Warning: Existing objects in this array will be removed by this method.

Parameters

RArray< TUint > &aSupportedRates

The supported rates.


MacGetSupportedSinkNumChannelsL()

virtual void MacGetSupportedSinkNumChannelsL(RArray< TUint > &aSupportedChannels)=0;

Description

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.


MacGetSupportedSinkDataTypesL()

virtual void MacGetSupportedSinkDataTypesL(RArray< TFourCC > &aSupportedDataTypes)=0;

Description

Gets the list of fourCC codes supported by the data sink.

Warning: Existing objects in this array will be removed by this method.

Parameters

RArray< TFourCC > &aSupportedDataTypes

The supported data types.