class RayLib::Sound

Defined in:

raylib/audio.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String) #

[View source]
def self.new(wave : RayLibC::Wave) #

[View source]
def self.new(wave : Wave) #

[View source]

Instance Method Detail

def data : RayLibC::Sound #

[View source]
def finalize #

[View source]
def pause #

[View source]
def pitch : Float64 #

[View source]
def pitch=(pitch : Float64) #

[View source]
def play #

[View source]
def playing? #

[View source]
def resume #

[View source]
def stop #

[View source]
def update(sound : Sound, data : Pointer(Void), samples_count : Int) #

[View source]
def volume : Float64 #

[View source]
def volume=(volume : Float64) #

[View source]