Skip to main content

audio_ptr

Function audio_ptr 

Source
pub unsafe fn audio_ptr(ptr: *mut u8) -> *mut f32
Expand description

Returns a pointer to the audio buffer region.

ยงSafety

ptr must point to an allocation large enough to contain the audio buffer.