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

< The format of the audio data.

< 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.

< 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.

< 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]

[src]

Formats the value using the given formatter.

impl Copy for IPLAudioBuffer
[src]

impl Clone for IPLAudioBuffer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more