[Bug 29056] Test program freezes after sndPlaySound

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 18 00:35:50 CST 2012


Jörg Höhle <hoehle at users.sourceforge.net> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #11 from Jörg Höhle <hoehle at users.sourceforge.net> 2012-01-18 00:35:50 CST ---
(In reply to GyB's comment #7)
> After the first usage of pasuspender you need to reload the PA daemon,
> otherwise the freezing will occur, whether you use pasuspender in the next test
> or not. 'killall pulseaudio' then 'pulseaudio -D'.
This is indeed bogus behaviour of pasuspender observable by me in Ubuntu Lucid.
Any sound output to  "default" is dead afterwards, incl. speaker-test (whereas
speaker-test -c2 -Dhw:0 still works, the device is not locked).
In the older Ubuntu Intrepid, pasuspender works as its manpage says and you
need not restart PA.

(In reply to Ross' comment #8)
>I tested the issue on Mandriva 2011 64 bit and it does not seem to be exist so
>maybe it is something specific to the OpenSUSE setup.

Please file a bug report against PA or your Linux distribution if that bug
persists with the most recent PA/alsa_plugins.

>Running without pasuspender results in sound for the first click and a freeze
>on the second click for versions 1cde966c35 and after.

In summary, scenarios involving pasuspender (as opposed to not using PA at all)
are likely consequences of that bug and should be marked invalid here. Because
it's not cluttered by pasuspender issues, let's make wine bug #29299 the one
about the regression caused by commit 1cde966c35dcb0b5dc7bc5a6c42b788f6d8f561c
winmm: Never write silence, mmdevapi must handle underruns.
As a consequence:
- ALSA may not start short samples < period size
  This seems to only affect period-oriented devices like ALSA+dmix or hw:0,
  whereas ALSA+PA starts with the first sample written.
- and it does not play trailing samples.

*** This bug has been marked as a duplicate of bug 29299 ***

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