[Bug 28413] Sound play in games and programs causes brief "pauses"

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 21 13:16:05 CST 2011


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

--- Comment #18 from Andrew Eikum <aeikum at codeweavers.com> 2011-11-21 13:16:05 CST ---
Actually I just ran a test on Windows 7 and it seems to reuse device handles
like Wine does. I think unique device handles aren't necessarily the solution
for the problem in Comment 14.

Test snippet:
    mr = waveOutOpen(&hwave, 0, &fmt, 0, 0, CALLBACK_NULL);
    ok(mr == MMSYSERR_NOERROR, "waveOutOpen failed\n");
    waveOutClose(hwave);

    mr = waveOutOpen(&hwave2, 0, &fmt, 0, 0, CALLBACK_NULL);
    ok(mr == MMSYSERR_NOERROR, "waveOutOpen failed\n");

    ok(0, "hwave: %p, hwave2: %p\n", hwave, hwave2);

Result on Windows 7 VM:
wave.c:1487: Test failed: hwave: 002D54E0, hwave2: 002D54E0
wave: 4 tests executed (0 marked as todo, 1 failure), 0 skipped.



Am I missing something?

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