|
||
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
:
KNotificationDataBufferSize
Specifies the maximum buffer length that can be passed with notification requestSetReturnSize(TInt)
Not implemented.TMMFAudioConfig()
Initialises the object with arbitrary values. anonymous
iBalance
The balance between left and right stereo channels. Must be between -100 and 100iChannels
The number of channels of the audio device (signifying mono/stereo).iCropToEnd
If true, the audio clip is cropped from the current position to the end and the ...iEndPosition
The end position for audio playback in micro seconds.iEventType
The notification event to register for the client.iFormatUid
The format UID to be used.iGain
The gain of the audio device. This can be any value from zero to iMaxGainiLoadingCompletePercentage
The current completion status of loading/rebuffering.iMaxDuration
The maximum duration of the recorded clip, in microsecondsiMaxFileSize
The maximum size of the recorded clip, in bytes.iMaxGain
The maximum gain of the audio device.iMaxVolume
The maximum volume setting of the audio device.iNotificationData
The notification data for the client.iNotificationRegistrationData
The notification data from the client.iRampDuration
The period over which the volume is to rise.iRecordTimeAvailable
The recordable time available to the audio device.iSampleRate
The sample rate of the audio device.iSinkDataTypeCode
The sink data codec type.iSourceDataTypeCode
The source data codec type.iStartPosition
The start position for audio playback in micro seconds.iState
The current state of the audio device.iVolume
The 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.