http://bugs.winehq.org/show_bug.cgi?id=32706
--- Comment #8 from Andrew Eikum aeikum@codeweavers.com 2013-01-15 08:27:16 CST --- This looks like a bug in your OSS driver:
0031:trace:oss:AUDDRV_GetAudioEndpoint OSS audioinfo: 0031:trace:oss:AUDDRV_GetAudioEndpoint devnode: /dev/oss/oss_hdaudio0/spdout0 0031:trace:oss:AUDDRV_GetAudioEndpoint name: HD Audio play spdifout-mix (vmix) 0031:trace:oss:AUDDRV_GetAudioEndpoint busy: 2 0031:trace:oss:AUDDRV_GetAudioEndpoint caps: 19077500 0031:trace:oss:AUDDRV_GetAudioEndpoint iformats: 5010 0031:trace:oss:AUDDRV_GetAudioEndpoint oformats: 5010 0031:trace:oss:AUDDRV_GetAudioEndpoint enabled: 1 0031:trace:oss:AUDDRV_GetAudioEndpoint min_rate: 0 0031:trace:oss:AUDDRV_GetAudioEndpoint max_rate: 0 0031:trace:oss:AUDDRV_GetAudioEndpoint min_channels: 2 0031:trace:oss:AUDDRV_GetAudioEndpoint max_channels: 0
Notice that the allowed rates are both 0, and that min_channels is 2 while max_channels is 0.
I guess we can add some sanity checks for this. Maybe check if it's 0 and use a reasonable default (44.1kHz stereo).
I'll send an email to the OSS mailing list, too.