http://bugs.winehq.org/show_bug.cgi?id=14717
--- Comment #100 from Alexander E. Patrakov patrakov@gmail.com 2011-01-01 00:07:03 CST --- (In reply to comment #98)
(In reply to comment #94)
hw:0 is an onboard Intel HDA codec. It supports both 44100 and 48000 Hz, but not 32000 Hz.
This mean that winecfg should only allow you to seclect 44100Hz or 48000Hz when you set "UseDirectHW"="Y" or your default device is "hw:0,0"
Yes, that would be correct. However, now winecfg allows to select any rate from the list. If I select the invalid rate, winealsa.drv opens the device at the nearest rate and lets wine's implementation of dsound deal with it - i.e., resample.
if your "default" is "plug:dmix" , the default rate is dmix 's default rate which you can change from 48000Hz to 44100Hz in /usr/share/alsa/alsa.conf
Yes, or by adding this line to .asoundrc:
defaults.pcm.dmix.rate 44100
As for sb16 - you are right, it doesn't support 48 kHz. That's why I tested resampling from 32000 to 44100 Hz.
you should also notice that when sb16 playback at 16bits, it can only record at 8bits.
This may be true, I didn't test recording inside Windows in kvm. Can you suggest any freeware program that is not part of Windows (so that I can compare results in Windows and wine), can record sounds and uses DirectSound for that?