Struct raylib::core::audio::AudioStream [−][src]
#[repr(transparent)]pub struct AudioStream(_);
Implementations
Take the raw ffi type. Must manually free memory by calling the proper unload function
returns the unwrapped raylib-sys object
converts raylib-sys object to a “safe” version. Make sure to call this function from the thread the resource was created.
pub fn init_audio_stream(
_: &RaylibThread,
sample_rate: u32,
sample_size: u32,
channels: u32
) -> AudioStream
pub fn init_audio_stream(
_: &RaylibThread,
sample_rate: u32,
sample_size: u32,
channels: u32
) -> AudioStream
Initializes audio stream (to stream raw PCM data).
Updates audio stream buffers with data.
Trait Implementations
Performs the conversion.
Performs the conversion.
type Target = AudioStream
type Target = AudioStream
The resulting type after dereferencing.