Location:
Audio.h
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()
.
TMdaRawPackage
- Abstract base class for all media server package types
TMdaPackage
- A data structure used to package messages (that include the package type) sent between the media server and its clients
TMdaDatatypeSettings
- Datatype parameters
TMdaAudioDataSettings
- The settings for audio data played through the media server
Defined in TMdaAudioDataSettings
:
EChannelsMono
, EChannelsStereo
, ENoLocalRouting
, ENoNetworkRouting
, ERealTime
, ERoutingControl
, ESampleRate11025Hz
, ESampleRate12000Hz
, ESampleRate16000Hz
, ESampleRate22050Hz
, ESampleRate24000Hz
, ESampleRate32000Hz
, ESampleRate44100Hz
, ESampleRate48000Hz
, ESampleRate64000Hz
, ESampleRate8000Hz
, ESampleRate96000Hz
, ESampleRateAnyInRange
, ESampleRateFixed
, Query()
, TAudioCaps
, TAudioFlags
, TMdaAudioDataSettings()
, iCaps
, iChannels
, iFlags
, iMaxVolume
, iSampleRate
, iVolume
Inherited from TMdaPackage
:
SetUid()
,
Type()
,
Uid()
,
operator==()
Inherited from TMdaRawPackage
:
Package()
,
SetSize()
,
iThis
inline TMdaAudioDataSettings();
Default constructor. The member data is not initialised.
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.
TAudioCaps
Audio capabilities, which include the sample rate and number of channels. The iCaps member is a combination of these flags.
|
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.
|
TInt iCaps;
Specifies the capabilities of the audio sample. Its value is a combination of the flags contained in the TAudioCaps enum.
TInt iVolume;
The volume. Whether this applies to the audio device or to the audio sample is device-dependent.
TInt iFlags;
The flags. Its value can be either of the flags contained in the TAudioFlags enum.