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 stored as floats [-1.0f, 1.0f].

Number of samples

Frequency (e.g. 44100)

Trait Implementations

impl Copy for ovrAudioChannelData
[src]

impl Clone for ovrAudioChannelData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ovrAudioChannelData
[src]

Formats the value using the given formatter.