Struct ovr_sys::audio::ovrAudioChannelData
[−]
[src]
#[repr(C)]pub struct ovrAudioChannelData { pub Samples: *const f32, pub SamplesCount: c_int, pub Frequency: c_int, }
Store audio PCM data (as 32b float samples) for an audio channel.
Note: needs to be released with ovr_ReleaseAudioChannelData
to avoid memory leak.
Fields
Samples: *const f32
Samples stored as floats [-1.0f, 1.0f].
SamplesCount: c_int
Number of samples
Frequency: c_int
Frequency (e.g. 44100)
Trait Implementations
impl Copy for ovrAudioChannelData
[src]
impl Clone for ovrAudioChannelData
[src]
fn clone(&self) -> ovrAudioChannelData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more