Function steam_audio::ffi::iplMixAudioBuffers [] [src]

pub unsafe extern "C" fn iplMixAudioBuffers(
    numBuffers: IPLint32,
    inputAudio: *mut IPLAudioBuffer,
    outputAudio: IPLAudioBuffer
) -> IPLvoid

Mixes a set of audio buffers. This is primarily useful for mixing the output of multiple Panning Effect objects, before passing them to a single Virtual Surround Effect or a single Ambisonics Binaural Effect. This way, applications can significantly accelerate 3D audio rendering for large numbers of sources.

\param numBuffers The number of input buffers to mix. Must be greater than 0. \param inputAudio Array of audio buffers to mix. All of these audio buffers must have identical formats. \param outputAudio Audio buffer that will contain the mixed audio data. The format of this buffer must be identical to all buffers contained in \c inputAudio.