Sound (gb.sdl2.audio)
This class represents a sound wave loaded in memory.
Этот класс несоздаваемый.
Константы
MaxVolume
|
This constant is the greater value a Volume property can take.
|
Статические свойства
BufferSize
|
Return or set the size of the mixer audio buffer in bytes.
|
Frequency
|
Return or set the frequency used by the audio library, in Hertz.
|
Статические методы
Load
|
Load a sound from the specified file.
|
Свойства
Volume
|
Return or set the volume of the sound.
|
Методы
Play
|
Finds a free channel and plays the sound on it. The channel is returned.
|