Struct steam_audio::ffi::IPLAudioBuffer
[−]
[src]
#[repr(C)]pub struct IPLAudioBuffer { pub format: IPLAudioFormat, pub numSamples: IPLint32, pub interleavedBuffer: *mut IPLfloat32, pub deinterleavedBuffer: *mut *mut IPLfloat32, }
A buffer containing audio data. All audio data passed to or from Phonon must be packaged in \c IPLAudioBuffer objects, which describe the format and size of the audio data.
Fields
format: IPLAudioFormat
< The format of the audio data.
numSamples: IPLint32
< The number of samples in the audio buffer. The total number of elements in the audio buffer is equal to \c numSamples * \c format.numSpeakers.
interleavedBuffer: *mut IPLfloat32
< A pointer to a contiguous block of memory containing interleaved audio data in the format described by \c format. Can be \c NULL if \c format.channelOrder is \c ::IPL_CHANNELORDER_DEINTERLEAVED.
deinterleavedBuffer: *mut *mut IPLfloat32
< A pointer to an array of pointers, each of which points to a block of memory containing audio data for a single channel of audio data in the format described by \c format. In other words, deinterleaved audio data doesn't have to be stored contiguously in memory. Can be \c NULL if \c format.channelOrder is \c ::IPL_CHANNELORDER_INTERLEAVED.
Trait Implementations
impl Debug for IPLAudioBuffer
[src]
impl Copy for IPLAudioBuffer
[src]
impl Clone for IPLAudioBuffer
[src]
fn clone(&self) -> IPLAudioBuffer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more