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_CRMMFVideoAudioSamplingRateAndChannelConfigCustomCommands(RMMFController &aController)

Constructor.

Parameters

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

Member Functions Documentation

DoGetUintArrayL(RArray< TUint > &, TMMFVideoAudioSamplingRateAndChannelConfigMessages)

voidDoGetUintArrayL(RArray< TUint > &aArray,
TMMFVideoAudioSamplingRateAndChannelConfigMessagesaIpc
)const [private]

GetAudioChannels(TUint &)

IMPORT_C TIntGetAudioChannels(TUint &aChannels)const

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

Parameters

TUint & aChannelsThe current number of audio channels to record.

GetAudioSampleRate(TUint &)

IMPORT_C TIntGetAudioSampleRate(TUint &aSampleRate)const

Gets the current audio sample rate for recording.

Parameters

TUint & aSampleRateThe current audio sample rate for recording.

GetSupportedAudioChannelsL(RArray< TUint > &)

IMPORT_C voidGetSupportedAudioChannelsL(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 > & aChannelsThe supported numbers of audio channels.

GetSupportedAudioSampleRatesL(RArray< TUint > &)

IMPORT_C voidGetSupportedAudioSampleRatesL(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 > & aSampleRatesThe supported audio sample rates.

SetAudioChannels(const TUint)

IMPORT_C TIntSetAudioChannels(const TUintaChannels)

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

Parameters

const TUint aChannelsThe number of audio channels to record.

SetAudioSampleRate(const TUint)

IMPORT_C TIntSetAudioSampleRate(const TUintaSampleRate)

Sets the audio sample rate for video recording.

Parameters

const TUint aSampleRateThe sample rate for audio recording.