Struct rust_raylib::ffi::Wave
source · #[repr(C)]pub struct Wave {
pub frameCount: c_uint,
pub sampleRate: c_uint,
pub sampleSize: c_uint,
pub channels: c_uint,
pub data: *mut c_void,
}Expand description
Wave, audio wave data
Fields§
§frameCount: c_uintTotal number of frames (considering channels)
sampleRate: c_uintFrequency (samples per second)
sampleSize: c_uintBit depth (bits per sample): 8, 16, 32 (24 not supported)
channels: c_uintNumber of channels (1-mono, 2-stereo, …)
data: *mut c_voidBuffer data pointer
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Wave
impl !Send for Wave
impl !Sync for Wave
impl Unpin for Wave
impl UnwindSafe for Wave
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more