MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ConsumeSamples

Function ConsumeSamples

pcsx2/SPU2/Mixer.cpp:278–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278static __forceinline void ConsumeSamples(V_Core& thiscore, uint voiceidx)
279{
280 V_Voice& vc(thiscore.Voices[voiceidx]);
281
282 int consumed = vc.SP >> 12;
283 vc.SP &= 0xfff;
284 vc.DecPosRead += consumed;
285}
286
287static __forceinline s32 GetVoiceValues(V_Core& thiscore, uint voiceidx)
288{

Callers 1

MixVoiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected