Audio rendering

Prev

Next

 






































































































Audio rendering

Description

Enabling the audio rendering

The audio rendering is delivered when AudioDeviceRendering = true, excepted for the player for which the audio is rendered when PlayerAudioRendering = true

Volume and balance

The volume is usually adjusted with AudioVolume, and the balance with AudioBalance.
These settings does not interact with the default sound card, unless the default sound card has been selected as AudioDevice in the AudioDevices list.

It is possible to modify the global audio volume and balance of the default sound card with SpeakerVolume and SpeakerBalance.

Choosing the audio renderer

By default, the default DirectSound Audio Renderer is used (AudioRenderer = -1).
To select a different audio renderer, simply assign to AudioRenderer the index of the audio renderer to use, choosen in the AudioRenderers list.

Selecting the right or left channel
It is possible to convert the right channel or the left channel as "mono" and to mute either the left, right or both channels, or convert a mono channel in stereo with AudioChannelRenderMode.

Selecting the audio stream
When the clip has multiple audio streams it is possible to select one audio stream, see AudioStreamNumber