http://bugs.winehq.org/show_bug.cgi?id=14717
Summary: resampled sound is horrible Product: Wine Version: 1.0.0 Platform: All OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: patrakov@gmail.com
The problem is reported because the default sampling frequency in wine (as configured by winecfg) is 48000 Hz, while apps generally want 44100 Hz.
However, the resampling code in dlls/dsound/mixer.c, function DSOUND_MixToTemporary(), if I read it correctly, is simply a zero-order hold, which is completely unacceptable. Even if I don't read it correctly, the quality is horrible with 48000 Hz and OK with 44100 Hz (tested with MP3 files in foobar 2000). Please change the resampling method to something more scientific, e.g., by using libsamplerate.