No subject


Tue Mar 17 14:04:44 CDT 2009


A) ReopenDevice fails as WAVE_Open refuses the bogus new format.
The device is left in floating state, neither open nor closed, and
with a bogus format description in device->pwfx.
A subsequent DSOUND_PerformMix() will choke on the broken format.

DSOUND_ReopenDevice waveOutOpen failed
DSOUND_PrimarySetFormat DSOUND_ReopenDevice failed: 80070057
DSOUND_PerformMix (0x213620)
DSOUND_PrimaryGetPosition pwplay=0, pwqueue=0
DSOUND_PrimaryGetPosition playpos = 0, writepos = 0 ( time=8688)
DSOUND_PerformMix primary playpos=0, writepos=0,
 clrpos=0, mixpos=0, buflen=65536
wine: Unhandled division by zero -- likely BytesPerSec=0


B) One winmm:WAVE_Open initiated by DSOUND_PrimaryOpen succeeds.
trace:winmm:WAVE_Open wFormatTag=1, nChannels=3, nSamplesPerSec=96000,
nAvgBytesPerSec=576000, nBlockAlign=6, wBitsPerSample=16

The original format structure is still bogus (wBitsPerSample=0) and
PrimaryOpen crashes in a division by zero in this case as well.

This is the case I have to investigate further, as I thought my recent
patches to wodOpen in wineoss.drv and winecoreaudio.drv for bug #12349
and bug #19901 would have taken care of it.  Apparently there are
several WAVE_FORMAT structures floating around that one does not know
which one to correct.
I also need to find out why the app keeps crashing now while I had it
working in the past (IIRC I did not use the demo).

-- 
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