Gambas Documentation - /comp/gb.media/.mediaplayer.audio

/comp/gb.media/.mediaplayer.audio

# .MediaPlayer.Audio (gb.media)

This virtual class allows to manage the audio part of a media player.

This class is virtual.
This class is not creatable.

Properties

Return the total number of available audio streams.
Count
Return or set the currently playing audio stream. By default the first audio stream with data is played.
Current
Return or set if rendering of the audio stream is enabled.
Enabled
This property allows to mute the audio channel without changing the volume.
Mute
Return or set if only native audio formats are allowed.
NativeOnly
Return or set the synchronisation offset in seconds between the audio and video streams.
Offset
Return or set the audio output MediaControl to use, NULL meaning the default sink.
Output
Return or set if software volume must be used.
SoftwareVolume
Return or set the volume of the current audio stream.
Volume