dsound: Preserve freqAccNum value in DSOUND_RecalcFormat().
commit4871cd032f389383798c05178180c0aba8a2c537
authorAnton Baskanov <baskanov@gmail.com>
Wed, 26 Apr 2023 04:59:30 +0000 (26 11:59 +0700)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 27 Apr 2023 16:33:56 +0000 (27 18:33 +0200)
tree003f800ccf81e089d1cbf855bd73a73d13481b15
parentc2563de512d8ce1aa2b42c33b56b2d26fd1d5bf3
dsound: Preserve freqAccNum value in DSOUND_RecalcFormat().

Resetting it results in position discontinuity. With frequent
SetFrequency() calls, this produces audible crackling. The issue
affects pedestrian voices in GTA: San Andreas.
dlls/dsound/mixer.c