RayLib::Wave
Inherits Reference < Object
Constructors
new(data : Pointer(Void), sample_count : Int, sample_rate : Int, sample_size : Int, channels : Int)
Sourcenew(path : String)
Sourcenew(wave : RayLibC::Wave)
SourceInstance methods
channels
Sourcecopy
Sourcecrop(init_sample : Int, final_sample : Int)
Sourcedata
Sourcefinalize
Sourceformat(sample_rate : Int, sample_size : Int, channels : Int)
Sourcesample_count
Sourcesample_rate
Sourcesample_size
Sourceto_sound
Source