Channel (gb.sdl2.audio)

This class represents a sound channel.

Questa classe è creabile.

Proprietà
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.

Metodi
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.

Eventi
Finish   This event is raised when a channel has finished playing its sound.