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

Function ApplyVolume

pcsx2/SPU2/Mixer.cpp:155–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153// //
154
155static __forceinline s32 ApplyVolume(s32 data, s32 volume)
156{
157 return (volume * data) >> 15;
158}
159
160static __forceinline StereoOut32 ApplyVolume(const StereoOut32& data, const V_VolumeLR& volume)
161{

Callers 3

MixVoiceFunction · 0.85
MixCoreFunction · 0.85
spu2MixFunction · 0.85

Calls 1

StereoOut32Class · 0.85

Tested by

no test coverage detected