Function steam_audio::ffi::iplGetMixedEnvironmentalAudio [] [src]

pub unsafe extern "C" fn iplGetMixedEnvironmentalAudio(
    renderer: IPLhandle,
    listenerPosition: IPLVector3,
    listenerAhead: IPLVector3,
    listenerUp: IPLVector3,
    mixedWetAudio: IPLAudioBuffer
) -> IPLvoid

Retrieves a mixed frame of wet audio. This is the sum of all wet audio data from all Convolution Effect objects that were created using the given Environmental Renderer object. Unless using TrueAudio Next for convolution, this is likely to provide a significant performance boost to the audio thread as compared to calling \c ::iplGetWetAudioForConvolutionEffect for each Convolution Effect separately. On the other hand, doing so makes it impossible to apply additional DSP effects for specific sources before mixing.

\param renderer Handle to an Environmental Renderer object. \param listenerPosition World-space position of the listener. \param listenerAhead Unit vector in the direction in which the listener is looking. \param listenerUp Unit vector pointing upwards from the listener. \param mixedWetAudio Audio buffer which will be populated with the wet audio data.