WineHQ
Comments
 

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

RE: Got it working
by rocko on Thursday January 15th 2009, 5:57
This unsupported subformat is KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, so the following change to the same test in dsound.c circa line 1600 also stops the unhandled exception error:

if (!IsEqualGUID(&pwfxe->SubFormat, &KSDATAFORMAT_SUBTYPE_PCM)) {

becomes

if (!IsEqualGUID(&pwfxe->SubFormat, &KSDATAFORMAT_SUBTYPE_PCM)) && !IsEqualGUID(&pwfxe->SubFormat, &KSDATAFORMAT_SUBTYPE_IEEE_FLOAT)) {

I've got winecfg set to use ALSA, and dlls/winealsa.drv/alsa.c#ALSA_supportedFormat says it supports KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, but clearly it doesn't, since no sound plays.

[post new] [reply to this]

Page loaded in 0.0064 seconds.