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 156339 - [alsasink] gst does not identify its default output sink properly.
[alsasink] gst does not identify its default output sink properly.
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.7
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-24 23:23 UTC by Pat Suwalski
Modified: 2005-01-10 17:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Pat Suwalski 2004-10-24 23:23:41 UTC
1. Open any gst application (gstreamer properties, rhythmbox)
2. Play a stream (or press "alsa sink test button")
3. I get < 1s of sound, and then:

gstreamer-properties: pcm.c:2094: snd_pcm_wait: Assertion `err == 1' failed.
Xlib: unexpected async reply (sequence 0xa79)!
Comment 1 Pat Suwalski 2004-10-24 23:28:25 UTC
I don't see bugzilla showing the version specifics, where I put that this is
alsa from kernel 2.6.9 with no OSS.
Comment 2 Ronald Bultje 2004-10-25 06:46:35 UTC
Which alsalib version (rpm -qa|grep alsa, if you run a RPM-based distro).
Comment 3 Pat Suwalski 2004-11-01 06:02:17 UTC
Ronald, I have sort of solved my problems.

On both of my machines, changing the sink to 'alsasink device="hw:0"' makes it work.

Should this not be some sort of default?
Comment 4 Ronald Bultje 2004-11-01 06:44:30 UTC
I've proposed that, but others disagree because it changes application default
behaviour based on asoundrc. We will really have to fix alsasink at some point
to also work well with all soundcards and alsalib versions around when not using
hw:X devices.
Comment 5 Pat Suwalski 2004-11-02 05:15:44 UTC
Say I'm using dmix, how would that be entered as the device? Or is it that gst
breaks on dmix, which should be the default output on my machine?
Comment 6 Ronald Bultje 2004-11-02 07:18:03 UTC
In Gstreamer-properties, use a custom output device: alsasink device=dmix
Comment 7 Ronald Bultje 2005-01-10 17:26:09 UTC
This is fixed in alsalib bug 642 or 643 (forgot), update alsalib and you're
done. RedHat already ships fixed packages for Fedora. Marking NOTGNOME.