Channel (gb.sdl2.audio)
This class represents a sound channel.
Properties
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.
|
Methods
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.
|
Events
Finish
|
This event is raised when a channel has finished playing its sound.
|