struct RayLib::AudioStream
- RayLib::AudioStream
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
raylib/structs.crConstructors
- .new(sample_rate : UInt32, sample_size : UInt32, channels : UInt32, audio_buffer : Pointer(Void), format : Int32, source : UInt32, buffers : StaticArray(UInt32, 2))
- .new(pull : JSON::PullParser)
- .new(unwrap : Pointer(Binding::AudioStream))
- .new(unwrap : Binding::AudioStream)
Instance Method Summary
- #audio_buffer : Pointer(Void)
- #audio_buffer=(audio_buffer : Pointer(Void))
- #buffers : StaticArray(LibC::UInt, 2)
- #buffers=(buffers : StaticArray(LibC::UInt, 2))
- #channels : LibC::UInt
- #channels=(channels : LibC::UInt)
- #format : Int32
- #format=(format : Int32)
- #sample_rate : LibC::UInt
- #sample_rate=(sample_rate : LibC::UInt)
- #sample_size : LibC::UInt
- #sample_size=(sample_size : LibC::UInt)
- #source : LibC::UInt
- #source=(source : LibC::UInt)
- #to_unsafe
Constructor Detail
def self.new(sample_rate : UInt32, sample_size : UInt32, channels : UInt32, audio_buffer : Pointer(Void), format : Int32, source : UInt32, buffers : StaticArray(UInt32, 2))
#