|
|
|
class TMMFAudioConfig;
A class used when sending custom commands from the client API to the audio controller to get or set the audio configuration
Defined in TMMFAudioConfig:
KNotificationDataBufferSizeSpecifies the maximum buffer length that can be passed with notification requestSetReturnSize(TInt)Not implemented.TMMFAudioConfig()Initialises the object with arbitrary values. anonymousiBalanceThe balance between left and right stereo channels. Must be between -100 and 100iChannelsThe number of channels of the audio device (signifying mono/stereo).iCropToEndIf true, the audio clip is cropped from the current position to the end and the ...iEndPositionThe end position for audio playback in micro seconds.iEventTypeThe notification event to register for the client.iFormatUidThe format UID to be used.iGainThe gain of the audio device. This can be any value from zero to iMaxGainiLoadingCompletePercentageThe current completion status of loading/rebuffering.iMaxDurationThe maximum duration of the recorded clip, in microsecondsiMaxFileSizeThe maximum size of the recorded clip, in bytes.iMaxGainThe maximum gain of the audio device.iMaxVolumeThe maximum volume setting of the audio device.iNotificationDataThe notification data for the client.iNotificationRegistrationDataThe notification data from the client.iRampDurationThe period over which the volume is to rise.iRecordTimeAvailableThe recordable time available to the audio device.iSampleRateThe sample rate of the audio device.iSinkDataTypeCodeThe sink data codec type.iSourceDataTypeCodeThe source data codec type.iStartPositionThe start position for audio playback in micro seconds.iStateThe current state of the audio device.iVolumeThe volume setting. This can be any value from zero to iMaxVolumeinline void SetReturnSize(TInt aReturnSize);
Not implemented.
|
n/a
|
TInt iMaxVolume;
The maximum volume setting of the audio device.
This value is platform dependent but is always greater than or equal to one. This is the maximum value that should be passed to iVolume.
TInt iBalance;
The balance between left and right stereo channels. Must be between -100 and 100
TBool iCropToEnd;
If true, the audio clip is cropped from the current position to the end and the remainder of the clip is discarded. If false, the audio clip is cropped from the start of the file to the current position. The audio data prior to the current position is discarded.
TTimeIntervalMicroSeconds iStartPosition;
The start position for audio playback in micro seconds.
TTimeIntervalMicroSeconds iEndPosition;
The end position for audio playback in micro seconds.
TTimeIntervalMicroSeconds iRampDuration;
The period over which the volume is to rise.
A zero value causes the tone sample to be played at the normal level for the full duration of the playback. A value which is longer than the duration of the audio sample means that the sample never reaches its normal volume level.
Supported only during tone playing.
TTimeIntervalMicroSeconds iRecordTimeAvailable;
The recordable time available to the audio device.
This value may be the estimated time available.
TTimeIntervalMicroSeconds iMaxDuration;
The maximum duration of the recorded clip, in microseconds
TBufC8< KNotificationDataBufferSize > iNotificationRegistrationData;
The notification data from the client.
TBuf8< KNotificationDataBufferSize > iNotificationData;
The notification data for the client.