MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / getLatestSource

Function getLatestSource

unity/src/native/reverb_effect.cpp:231–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231void getLatestSource()
232{
233 if (gNewReverbSourceWritten)
234 {
235 iplSourceRelease(&gReverbSource[0]);
236 gReverbSource[0] = iplSourceRetain(gReverbSource[1]);
237
238 gNewReverbSourceWritten = false;
239 }
240}
241
242UNITY_AUDIODSP_RESULT UNITY_AUDIODSP_CALLBACK process(UnityAudioEffectState* state, float* in, float* out, unsigned int numSamples, int numChannelsIn, int numChannelsOut)
243{

Callers 1

Calls 2

iplSourceReleaseFunction · 0.50
iplSourceRetainFunction · 0.50

Tested by

no test coverage detected