[Bug 32706] No sound with foobar2000: Unknown error code (0x80070057)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 15 08:27:16 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=32706

--- Comment #8 from Andrew Eikum <aeikum at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list