MMMFAudioControllerCustomCommandImplementor Class Reference
class MMMFAudioControllerCustomCommandImplementor
|
Mixin class to be derived from controller plugins that could support the audio record controller custom commands.
Member Functions Documentation
MacGetSinkBitRateL(TUint &)
void
|
MacGetSinkBitRateL
|
(
|
TUint
&
|
aRate
|
)
|
[pure virtual]
|
Gets the bit rate of the data sink in bits per second.
Parameters
TUint
& aRate
|
The bit rate, in bits per second.
|
MacGetSinkDataTypeL(TFourCC &)
void
|
MacGetSinkDataTypeL
|
(
|
TFourCC
&
|
aDataType
|
)
|
[pure virtual]
|
Gets the fourCC code of the sink.
Parameters
TFourCC
& aDataType
|
The fourCC code.
|
MacGetSinkFormatL(TUid &)
void
|
MacGetSinkFormatL
|
(
|
TUid
&
|
aFormat
|
)
|
[pure virtual]
|
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.
|
MacGetSinkNumChannelsL(TUint &)
void
|
MacGetSinkNumChannelsL
|
(
|
TUint
&
|
aNumChannels
|
)
|
[pure virtual]
|
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.
|
MacGetSinkSampleRateL(TUint &)
void
|
MacGetSinkSampleRateL
|
(
|
TUint
&
|
aRate
|
)
|
[pure virtual]
|
Gets the sample rate of the data sink in samples per second.
Parameters
TUint
& aRate
|
The sample rate, in samples per second.
|
MacGetSourceBitRateL(TUint &)
void
|
MacGetSourceBitRateL
|
(
|
TUint
&
|
aRate
|
)
|
[pure virtual]
|
Gets the bit rate of the data source in bits per second.
Parameters
TUint
& aRate
|
The bit rate, in bits per second.
|
MacGetSourceDataTypeL(TFourCC &)
void
|
MacGetSourceDataTypeL
|
(
|
TFourCC
&
|
aDataType
|
)
|
[pure virtual]
|
Gets the fourCC code of the source.
Parameters
TFourCC
& aDataType
|
The fourCC code.
|
MacGetSourceFormatL(TUid &)
void
|
MacGetSourceFormatL
|
(
|
TUid
&
|
aFormat
|
)
|
[pure virtual]
|
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.
|
MacGetSourceNumChannelsL(TUint &)
void
|
MacGetSourceNumChannelsL
|
(
|
TUint
&
|
aNumChannels
|
)
|
[pure virtual]
|
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.
|
MacGetSourceSampleRateL(TUint &)
void
|
MacGetSourceSampleRateL
|
(
|
TUint
&
|
aRate
|
)
|
[pure virtual]
|
Gets the sample rate of the data source in samples per second.
Parameters
TUint
& aRate
|
The sample rate, in samples per second.
|
MacGetSupportedSinkBitRatesL(RArray< TUint > &)
void
|
MacGetSupportedSinkBitRatesL
|
(
|
RArray
<
TUint
> &
|
aSupportedRates
|
)
|
[pure virtual]
|
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.
|
MacGetSupportedSinkDataTypesL(RArray< TFourCC > &)
void
|
MacGetSupportedSinkDataTypesL
|
(
|
RArray
<
TFourCC
> &
|
aSupportedDataTypes
|
)
|
[pure virtual]
|
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.
|
MacGetSupportedSinkNumChannelsL(RArray< TUint > &)
void
|
MacGetSupportedSinkNumChannelsL
|
(
|
RArray
<
TUint
> &
|
aSupportedChannels
|
)
|
[pure virtual]
|
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.
|
MacGetSupportedSinkSampleRatesL(RArray< TUint > &)
void
|
MacGetSupportedSinkSampleRatesL
|
(
|
RArray
<
TUint
> &
|
aSupportedRates
|
)
|
[pure virtual]
|
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.
|
MacGetSupportedSourceBitRatesL(RArray< TUint > &)
void
|
MacGetSupportedSourceBitRatesL
|
(
|
RArray
<
TUint
> &
|
aSupportedRates
|
)
|
[pure virtual]
|
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.
|
MacGetSupportedSourceDataTypesL(RArray< TFourCC > &)
void
|
MacGetSupportedSourceDataTypesL
|
(
|
RArray
<
TFourCC
> &
|
aSupportedDataTypes
|
)
|
[pure virtual]
|
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.
|
MacGetSupportedSourceNumChannelsL(RArray< TUint > &)
void
|
MacGetSupportedSourceNumChannelsL
|
(
|
RArray
<
TUint
> &
|
aSupportedChannels
|
)
|
[pure virtual]
|
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.
|
MacGetSupportedSourceSampleRatesL(RArray< TUint > &)
void
|
MacGetSupportedSourceSampleRatesL
|
(
|
RArray
<
TUint
> &
|
aSupportedRates
|
)
|
[pure virtual]
|
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.
|
MacSetCodecL(TFourCC, TFourCC)
void
|
MacSetCodecL
|
(
|
TFourCC
|
aSourceDataType,
|
|
TFourCC
|
aSinkDataType
|
|
)
|
[pure virtual]
|
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.
|
MacSetSinkBitRateL(TUint)
void
|
MacSetSinkBitRateL
|
(
|
TUint
|
aRate
|
)
|
[pure virtual]
|
Sets the bit rate of the data sink in bits per second.
Parameters
TUint
aRate
|
The bit rate, in bits per second.
|
MacSetSinkDataTypeL(TFourCC)
void
|
MacSetSinkDataTypeL
|
(
|
TFourCC
|
aDataType
|
)
|
[pure virtual]
|
Sets the fourCC code of the sink.
MacSetSinkFormatL(TUid)
void
|
MacSetSinkFormatL
|
(
|
TUid
|
aFormatUid
|
)
|
[pure virtual]
|
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.
|
MacSetSinkNumChannelsL(TUint)
void
|
MacSetSinkNumChannelsL
|
(
|
TUint
|
aNumChannels
|
)
|
[pure virtual]
|
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.
|
MacSetSinkSampleRateL(TUint)
void
|
MacSetSinkSampleRateL
|
(
|
TUint
|
aSampleRate
|
)
|
[pure virtual]
|
Sets the sample rate of the data sink in samples per second.
Parameters
TUint
aSampleRate
|
The sample rate, in samples per second.
|
MacSetSourceBitRateL(TUint)
void
|
MacSetSourceBitRateL
|
(
|
TUint
|
aBitRate
|
)
|
[pure virtual]
|
Sets the bit rate of the data source in bits per second.
Parameters
TUint
aBitRate
|
The bit rate, in bits per second.
|
MacSetSourceDataTypeL(TFourCC)
void
|
MacSetSourceDataTypeL
|
(
|
TFourCC
|
aDataType
|
)
|
[pure virtual]
|
Sets the fourCC code of the source.
MacSetSourceFormatL(TUid)
void
|
MacSetSourceFormatL
|
(
|
TUid
|
aFormatUid
|
)
|
[pure virtual]
|
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.
|
MacSetSourceNumChannelsL(TUint)
void
|
MacSetSourceNumChannelsL
|
(
|
TUint
|
aNumChannels
|
)
|
[pure virtual]
|
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.
|
MacSetSourceSampleRateL(TUint)
void
|
MacSetSourceSampleRateL
|
(
|
TUint
|
aSampleRate
|
)
|
[pure virtual]
|
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.