Function steam_audio::ffi::iplApplyAmbisonicsPanningEffect [] [src]

pub unsafe extern "C" fn iplApplyAmbisonicsPanningEffect(
    effect: IPLhandle,
    inputAudio: IPLAudioBuffer,
    outputAudio: IPLAudioBuffer
) -> IPLvoid

Applies a panning-based rendering algorithm to a buffer of Ambisonics audio data. Ambisonics encoders and decoders use many different conventions to store the multiple Ambisonics channels, as well as different normalization schemes. Make sure that you correctly specify these settings when creating the Ambisonics Panning Effect object, otherwise the rendered audio will be incorrect.

\param effect Handle to an Ambisonics Panning Effect object. \param inputAudio Audio buffer containing the data to render. The format of this buffer must match the \c inputFormat parameter passed to \c ::iplCreateAmbisonicsPanningEffect. \param outputAudio Audio buffer that should contain the rendered audio data. The format of this buffer must match the \c outputFormat parameter passed to \c ::iplCreateAmbisonicsPanningEffect.