RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands Class Reference

class RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands : public RMMFCustomCommandsBase

Client class to allow the audio sampling rate and channels configuration for video recording.

Inherits from

Constructor & Destructor Documentation

RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands(RMMFController &)

IMPORT_C RMMFVideoAudioSamplingRateAndChannelConfigCustomCommands ( RMMFController & aController )

Constructor.

Parameters

RMMFController & aController The client side controller object to be used by this custom command interface.

Member Functions Documentation

DoGetUintArrayL(RArray< TUint > &, TMMFVideoAudioSamplingRateAndChannelConfigMessages)

void DoGetUintArrayL ( RArray < TUint > & aArray,
TMMFVideoAudioSamplingRateAndChannelConfigMessages aIpc
) const [private]

GetAudioChannels(TUint &)

IMPORT_C TInt GetAudioChannels ( TUint & aChannels ) const

Gets the current number of audio channels to record (1 for mono, 2 for stereo).

Parameters

TUint & aChannels The current number of audio channels to record.

GetAudioSampleRate(TUint &)

IMPORT_C TInt GetAudioSampleRate ( TUint & aSampleRate ) const

Gets the current audio sample rate for recording.

Parameters

TUint & aSampleRate The current audio sample rate for recording.

GetSupportedAudioChannelsL(RArray< TUint > &)

IMPORT_C void GetSupportedAudioChannelsL ( RArray < TUint > & aChannels ) const

Gets the list of supported number of audio channels for video recording.

leave
This method may leave with one of the system-wide error codes.

Parameters

RArray < TUint > & aChannels The supported numbers of audio channels.

GetSupportedAudioSampleRatesL(RArray< TUint > &)

IMPORT_C void GetSupportedAudioSampleRatesL ( RArray < TUint > & aSampleRates ) const

Gets the list of supported audio sample rates for video recording.

leave
This method may leave with one of the system-wide error codes.

Parameters

RArray < TUint > & aSampleRates The supported audio sample rates.

SetAudioChannels(const TUint)

IMPORT_C TInt SetAudioChannels ( const TUint aChannels )

Sets the number of audio channels to record (1 for mono, 2 for stereo).

Parameters

const TUint aChannels The number of audio channels to record.

SetAudioSampleRate(const TUint)

IMPORT_C TInt SetAudioSampleRate ( const TUint aSampleRate )

Sets the audio sample rate for video recording.

Parameters

const TUint aSampleRate The sample rate for audio recording.