Skip to content

Commit

Permalink
SPU: Lower final output volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziemas committed Oct 15, 2023
1 parent dba009d commit 6d028bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pcsx2/SPU2/Mixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,11 @@ __forceinline
Out.Right = ApplyVolume(Out.Right, Cores[1].MasterVol.Right.Value);
}

// For a long time PCSX2 has had its output volume halved by
// an incorrect function for applying the master volume above.
//
// Adjust volume here so it matches what people have come to expect.
Out = ApplyVolume(Out, {0x4fff, 0x4fff});
Out = DCFilter(Out);

// Final clamp, take care not to exceed 16 bits from here on
Expand Down

0 comments on commit 6d028bc

Please sign in to comment.