http://bugs.winehq.org/show_bug.cgi?id=35971
Bug ID: 35971 Summary: dsound resampler causing clicks in StarCraft when resampling to 48000 Product: Wine Version: 1.7.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound Assignee: wine-bugs@winehq.org Reporter: cus@fazekas.hu
Something is still not perfect with the resampler in Wine.
I tested Starcraft (Starcraft is using 22050 and 11025 freq buffers), and it seems when the primary buffer sample rate is 48000, there are noticable clicks on the sound output. On the other hand, if the primary buffer sample rate is 44100, the sound is fine.
In order to test this I hacked winealsa.drv to force the max sample rate to 44100 insetad of 48000, and this resolved the issue, that is why I think that the resampler is handling badly resampling from 22050 or 11025 to 48000.