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 610458 - [alsasink] need to specify device for digital output, despite having a setting for that
[alsasink] need to specify device for digital output, despite having a settin...
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.25
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-19 14:44 UTC by Josselin Mouette
Modified: 2014-11-26 15:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josselin Mouette 2010-02-19 14:44:14 UTC
I have an integrated sound card (AMD HD audio, hda_intel driver) that behaves a bit strangely with ALSA, but this sounds intentional. There are two devices in /dev/snd: one corresponds to the analog output, and the other to the digital output. There is also a checkbox, that I can make appear in gnome-volume-control.gstreamer, that switches betwen analog and digital output.

Depending on this checkbox, regular ALSA applications (such as xine or
mpg321) use the correct output without any configuration.

With GStreamer, though, this is not the case:
    gst-launch-0.10 filesrc location=blah.mp3 ! mad ! audioconvert ! audioresample ! alsasink
→ no sound in digital output.

I have to specify the hardware device by hand:
    gst-launch-0.10 filesrc location=blah.mp3 ! mad ! audioconvert ! audioresample ! alsasink device="hw:0,1"
→ works fine.
Comment 1 Sebastian Dröge (slomo) 2011-05-23 15:04:25 UTC
By default alsasink uses the "default" device. You have to configure it to be the device you want
Comment 2 Josselin Mouette 2011-05-23 15:07:13 UTC
(In reply to comment #1)
> By default alsasink uses the "default" device. You have to configure it to be
> the device you want

Yes, and when configuring it, pure ALSA applications take it into account, while GStreamer doesn’t.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-24 15:52:51 UTC
could you attach your asoundrc and/or the output of aplay -l and aplay -L ?
Comment 4 Josselin Mouette 2011-05-24 19:44:52 UTC
Due to various problems with it (including this one), I’ve disabled this sound card to use my old PCI one instead. I’ll try again in a few days.

I don’t think PulseAudio is affected, FWIW.
Comment 5 Tim-Philipp Müller 2014-11-26 15:11:04 UTC
Not sure what to do with this, or what the actual issue is? But I think after 3.5 years we can probably close this. If it's still an issue, someone will file a new bug about it.