comp • gb.sdl2.audio • channel

Channel (gb.sdl2.audio)

This class represents a sound channel.

This class is
Create a new audio channel and return it.
creatable
.

Properties

Methods Events
Return or set the direction of the sound in degrees.
Angle  
Return or set the distance from the listener.
Distance  
Return the index of the channel.
Index  
Return or set if the left and right audio channel are swapped.
Reverse  
Returns or sets the volume of the channel.
Volume  
Pauses the sound played on the channel.
Pause  
Play a sound of the channel with an optional fade-in.
Play  
Stop the sound played on the channel with an optional fade-out.
Stop  
This event is raised when a channel has finished playing its sound.
Finish