#[repr(C)]pub struct IPLAudioBuffer {
pub numChannels: IPLint32,
pub numSamples: IPLint32,
pub data: *mut *mut IPLfloat32,
}Expand description
Describes an audio buffer. All audio buffers passed to Steam Audio must be deinterleaved.
Fields§
§numChannels: IPLint32Number of channels.
numSamples: IPLint32Number of samples per channel.
data: *mut *mut IPLfloat32Array of pointers to sample data for each channel. Allocation of sample data is up to the user.
Trait Implementations§
Source§impl Clone for IPLAudioBuffer
impl Clone for IPLAudioBuffer
Source§fn clone(&self) -> IPLAudioBuffer
fn clone(&self) -> IPLAudioBuffer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IPLAudioBuffer
impl Debug for IPLAudioBuffer
impl Copy for IPLAudioBuffer
Auto Trait Implementations§
impl Freeze for IPLAudioBuffer
impl RefUnwindSafe for IPLAudioBuffer
impl !Send for IPLAudioBuffer
impl !Sync for IPLAudioBuffer
impl Unpin for IPLAudioBuffer
impl UnwindSafe for IPLAudioBuffer
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