Channel (gb.sdl2.audio)

This class represents a sound channel.

Tato třída je vytvořitelný.

Vlastnosti
Angle   Return or set the direction of the sound in degrees.
Distance   Return or set the distance from the listener.
Index   Return the index of the channel.
Reverse   Return or set if the left and right audio channel are swapped.
Volume   Returns or sets the volume of the channel.

Metoda
Pause   Pauses the sound played on the channel.
Play   Play a sound of the channel with an optional fade-in.
Stop   Stop the sound played on the channel with an optional fade-out.

Událost
Finish   This event is raised when a channel has finished playing its sound.