|
||
Interface status: | deprecated |
class TMdaAudioDataSettings : public TMdaDatatypeSettings;
The settings for audio data played through the media server.
These can be the settings for an audio clip, for streamed audio data, or can be the capabilities of the sound device. The
sample rate and number of channels apply to the audio sample, the maximum volume applies to the output device and the volume
setting can apply to either, depending on the device. An object of this class is a public data member of class CMdaAudioType
and also can be passed to CMdaAudioOutputStream::Open(TMdaPackage *)
.
TMdaRawPackage
- Abstract base class for all media server package types.
TMdaPackage
- A data structure used to package messages (that include the package type) sent b...
TMdaDatatypeSettings
- Datatype parameters.
TMdaAudioDataSettings
- The settings for audio data played through the media server.
Defined in TMdaAudioDataSettings
:
EChannelsMono
The audio sample supports mono.EChannelsStereo
The audio sample supports stereo.ENoLocalRouting
The sound data is only sent to the network.ENoNetworkRouting
The sound data is only sent to the local device.ERealTime
True if data flow is synchronised with real time (e.g. stream)ERoutingControl
Routing relatedESampleRate11025Hz
The audio sample supports a sample rate of 11.025KHz.ESampleRate12000Hz
The audio sample supports a sample rate of 12.000KHz.ESampleRate16000Hz
The audio sample supports a sample rate of 16.000KHz.ESampleRate22050Hz
The audio sample supports a sample rate of 22.000KHz.ESampleRate24000Hz
The audio sample supports a sample rate of 24.000KHz.ESampleRate32000Hz
The audio sample supports a sample rate of 32.000KHz.ESampleRate44100Hz
The audio sample supports a sample rate of 44.100KHz.ESampleRate48000Hz
The audio sample supports a sample rate of 48.000KHz.ESampleRate64000Hz
The audio sample supports a sample rate of 64.000KHz.ESampleRate8000Hz
The audio sample supports a sample rate of 8.000KHz.ESampleRate96000Hz
The audio sample supports a sample rate of 96.000KHz.ESampleRateAnyInRange
If specified, all sample rates between the minimum and the maximum are supported...ESampleRateFixed
If specified, the sample rate iSampleRate is the only one supported. If not spec...Query()
Sets the number of channels, the sample rate and the volume to KMdaUnknown (–1)...TAudioCaps
Audio capabilities, which include the sample rate and number of channels. The iC...TAudioFlags
Mutually exclusive flags that specify whether audio data is sent to the local de...TMdaAudioDataSettings()
Default constructor. The member data is not initialised. iCaps
Specifies the capabilities of the audio sample. Its value is a combination of th...iChannels
The number of channels for the audio sample.iFlags
The flags. Its value can be either of the flags contained in the TAudioFlags enu...iMaxVolume
The maximum volume of the audio device.iSampleRate
The sample rate of the audio sample.iVolume
The volume. Whether this applies to the audio device or to the audio sample is d...Inherited from TMdaDatatypeSettings
:
Inherited from TMdaPackage
:
SetUid(TUid)
TMdaPackage(TUid,TUid,TInt)
Protected constructor with two UIDs and the size of the derived class.Type()const
Gets the package type. This is set during construction of the derived class.Uid()const
Gets the derived class's type. This is set during construction of the derived cl...operator==(const TMdaPackage &)
Equality operator. Tests whether the package specified has the same UID and type...Inherited from TMdaRawPackage
:
CMdaAudioType
Dummy class - not supported in 7.0s CMdaAudioOutputStream::Open(TMdaPackage *)
Opens an output audio stream package.Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
inline TMdaAudioDataSettings();
Default constructor. The member data is not initialised.
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
inline void Query();
Sets the number of channels, the sample rate and the volume to KMdaUnknown (–1). Call this function when you only want to have the iCaps and iMaxVolume members filled.
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
TAudioCaps
Audio capabilities, which include the sample rate and number of channels. The iCaps member is a combination of these flags.
|
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
TAudioFlags
Mutually exclusive flags that specify whether audio data is sent to the local device (speakers) or the network (phone line) or both. The iFlags member uses these flags.
|
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
TInt iCaps;
Specifies the capabilities of the audio sample. Its value is a combination of the flags contained in the TAudioCaps enum.
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
TInt iMaxVolume;
The maximum volume of the audio device.
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
TInt iSampleRate;
The sample rate of the audio sample.
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
TInt iChannels;
The number of channels for the audio sample.
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
TInt iVolume;
The volume. Whether this applies to the audio device or to the audio sample is device-dependent.
Interface status: | deprecated | Inherited from: TMdaAudioDataSettings |
TInt iFlags;
The flags. Its value can be either of the flags contained in the TAudioFlags enum.