Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mmfstandardcustomcommands.h>

Class MMMFAudioControllerCustomCommandImplementor

class MMMFAudioControllerCustomCommandImplementor;

Description

Mixin class to be derived from controller plugins that could support the audio record controller custom commands.

Members

Defined in MMMFAudioControllerCustomCommandImplementor:


Member functions


MacSetSourceSampleRateL(TUint)

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(TUint)

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(TUint)

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(TUid)

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(TFourCC)

virtual void MacSetSourceDataTypeL(TFourCC aDataType)=0;

Description

Sets the fourCC code of the source.

Parameters

TFourCC aDataType

The fourCC code.


MacSetSinkSampleRateL(TUint)

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(TUint)

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(TUint)

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(TUid)

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(TFourCC)

virtual void MacSetSinkDataTypeL(TFourCC aDataType)=0;

Description

Sets the fourCC code of the sink.

Parameters

TFourCC aDataType

The fourCC code.


MacSetCodecL(TFourCC,TFourCC)

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(TUint &)

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(TUint &)

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(TUint &)

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(TUid &)

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(TFourCC &)

virtual void MacGetSourceDataTypeL(TFourCC &aDataType)=0;

Description

Gets the fourCC code of the source.

Parameters

TFourCC &aDataType

The fourCC code.


MacGetSinkSampleRateL(TUint &)

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(TUint &)

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(TUint &)

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(TUid &)

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(TFourCC &)

virtual void MacGetSinkDataTypeL(TFourCC &aDataType)=0;

Description

Gets the fourCC code of the sink.

Parameters

TFourCC &aDataType

The fourCC code.


MacGetSupportedSourceSampleRatesL(RArray< TUint > &)

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(RArray< TUint > &)

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(RArray< TUint > &)

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(RArray< TFourCC > &)

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(RArray< TUint > &)

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(RArray< TUint > &)

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(RArray< TUint > &)

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(RArray< TFourCC > &)

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.