Channel (gb.sdl2.audio)

This class represents a sound channel.

Cette classe est instanciable.

Propriétés
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.

Méthodes
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.

Evénements
Finish   This event is raised when a channel has finished playing its sound.