Alsa uses plughw:0,0 instead of default

Bug #195507 reported by Stephan Rügamer
4
Affects Status Importance Assigned to Milestone
Wine
Fix Released
Medium
wine (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: wine

from WineHQ:

When starting wine I get messages like:

ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:0

this is caused by wine trying to use default:0 as sound device which doesn't
seem to be allowed according to
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html

Using plughw:0,0 also causes problems when people are using an dmix plugin to
allow sharing the input and output. As the dmix plugin uses the output in an
exclusive way. So it's eighter wine audio or dmix/alsa audio.

When using "default" instead of "default:0" the messages disappear and wine
uses the default path as defined in ~/.asoundrc

Revision history for this message
In , Vitaliy-bugzilla (vitaliy-bugzilla) wrote :

Please send all patches to <email address hidden> not here.

Revision history for this message
In , Leffeman (leffeman) wrote :

Yeah, ``default:0'' doesn't make any sense since ``default'' is an alias for the primary device on the primary card (or whatever you override it with in some asoundrc).

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Binary package hint: wine

from WineHQ:

When starting wine I get messages like:

ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default:0

this is caused by wine trying to use default:0 as sound device which doesn't
seem to be allowed according to
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html

Using plughw:0,0 also causes problems when people are using an dmix plugin to
allow sharing the input and output. As the dmix plugin uses the output in an
exclusive way. So it's eighter wine audio or dmix/alsa audio.

When using "default" instead of "default:0" the messages disappear and wine
uses the default path as defined in ~/.asoundrc

Changed in wine:
status: New → Confirmed
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

the patch is attached to the winehq bug..

Changed in wine:
status: Unknown → New
Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

I did some searching and couldn't find it, so I sent the patch in to wine-patches for you.

Changed in wine:
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wine - 0.9.56-0ubuntu1

---------------
wine (0.9.56-0ubuntu1) hardy; urgency=low

  * New upstream release (LP: #197588)
    - Proper handling of OpenGL/Direct3D windows with menu bars.
    - Stubs for all the d3dx9_xx dlls.
    - Several graphics optimizations.
    - Many installer fixes.
    - Improved MIME message support.
    - Lots of bug fixes.
  * debian/rules:
    - reset LDFLAGS to let wine not crash anymore, (LP: #191575)
      thx to Albert Damen <email address hidden> who came up with this solution.
      (http://www.winehq.org/pipermail/wine-bugs/2007-July/062505.html)
    - adjust dh_strip call (LP: #185513)
  * debian/control:
    - remove gcc-3.4 build-dep
    - get rid of quilt
  * cleaned debian/patches
  * Add finnish translation to desktop files (LP: #196916)
  * dlls/winealsa.drv/waveinit.c: (LP: #195507)
    - let wine use the default alsa device
      (http://bugs.winehq.org/show_bug.cgi?id=10942)
  * Preloader warning (preloader: Warning: failed to reserve range
    00000000-60000000) does not occure anymore (LP: #114025)

 -- Stephan Hermann <email address hidden> Fri, 22 Feb 2008 20:10:36 +0100

Changed in wine:
status: Confirmed → Fix Released
Revision history for this message
In , Scott Ritchie (scottritchie) wrote :
Changed in wine:
status: Confirmed → Fix Released
Revision history for this message
In , Alexandre Julliard (julliard) wrote :

Closing bugs fixed in 0.9.57.

Changed in wine:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.