After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144318 - alsa backend does not use the default interface
alsa backend does not use the default interface
Status: RESOLVED FIXED
Product: esound
Classification: Deprecated
Component: general
0.2.29
Other Linux
: Normal normal
: ---
Assigned To: Esound Maintainers
Esound Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-14 11:10 UTC by Scott Robinson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Scott Robinson 2004-06-14 11:10:37 UTC
ESD plays out the first hardware card, as opposed to the "default"
(!default) card alias.

All libasound using programs should be using the default PCM and mixer
stream. ESD is bypassing this behavior for some reason?

This problem can be mitigated by changing/adding the ESD option "-d default"

scott@tara:~$ [0] cat .asoundrc
pcm.!default {
    type hw
    card 2
}
 
ctl.!default {
    type hw
    card 2
}
scott@tara:~$ [0] esd & aplay test.wav
[1] 14494
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo

The esd server starts on the hw:0 card and the aplay is on hw:2.

As originally seen at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249375
Comment 1 Frederic Crozat 2004-08-12 13:51:15 UTC
Fixed in CVS.. Thanks for notifying me, it would have been easier if patch
author had sent me his patch :(