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

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 15 14:56:26 CST 2013


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

--- Comment #40 from Andrew Eikum <aeikum at codeweavers.com> 2013-01-15 14:56:26 CST ---
Created attachment 43183
  --> http://bugs.winehq.org/attachment.cgi?id=43183
winmm: Don't wait for device to be closed before allowing next sound to play

(In reply to comment #38)
> >That's nearly a full tenth of a second between invoking and returning from
> >PlaySound.
> Please investigate further whether it's PlaySound, winmm/wave or mmdevapi that
> causes such delays.

I looked closer and it's the close(fd) call in AudioClient_Release. I've seen
it take over 0.125 seconds according to +timestamp.

So, here's a patch to signal the next sound to play before the waveOutClose()
call occurs. It fixes the issue in my VM. What do you think Jörg?

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