Bug#570519: Does not take into account GConf settings

Josselin Mouette joss at debian.org
Fri Feb 19 14:19:13 UTC 2010


Package: gstreamer0.10-plugins-good
Version: 0.10.17-1
File: /usr/lib/gstreamer-0.10/libgstautodetect.so
Severity: important

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.

So, I just force the GConf setting using gstreamer-properties, and the
following works:
        gst-launch-0.10 filesrc location=blah.mp3 ! mad ! audioconvert ! audioresample ! gconfaudiosink
→ this works fine too.

However this is completely ignored by the “auto” audio sink:
        gst-launch-0.10 filesrc location=blah.mp3 ! mad ! audioconvert ! audioresample ! autoaudiosink
→ no sound.

I’m not sure this is only a GStreamer bug, since no sound at all comes
from totem and rhythmbox, either, and by reading their code they should
be using gconfaudiosink if available. In the end, there might be several
bugs hidden here:
      * alsasink being less clever than regular ALSA applications to
        detect the correct output
      * autoaudiosink ignoring gconfaudiosink entirely (but maybe this
        is intentional)
      * totem and rhythmbox not using gconfaudiosink correctly (but
        maybe this is actually a playbin2 issue)

If only totem & RB actually require fixing, I’d be happy to do that, but
I’d appreciate some GStreamer insight, because it still sounds like
black magic for me.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gstreamer0.10-plugins-good depends on:
ii  gconf2                  2.28.0-1         GNOME configuration database syste
ii  gstreamer0.10-plugins-b 0.10.25-7        GStreamer plugins from the "base" 
ii  libaa1                  1.4p5-38         ascii art library
ii  libavc1394-0            0.5.3-1+b2       control IEEE 1394 audio/video devi
ii  libbz2-1.0              1.0.5-4          high-quality block-sorting file co
ii  libc6                   2.10.2-2         GNU C Library: Shared libraries
ii  libcaca0                0.99.beta16-3    colour ASCII art library
ii  libcairo2               1.8.8-2          The Cairo 2D vector graphics libra
ii  libdbus-1-3             1.2.16-2         simple interprocess messaging syst
ii  libdv4                  1.0.0-2          software library for DV format dig
ii  libflac8                1.2.1-2+b1       Free Lossless Audio Codec - runtim
ii  libgcc1                 1:4.4.2-9        GCC support library
ii  libgconf2-4             2.28.0-1         GNOME configuration database syste
ii  libglib2.0-0            2.22.4-1         The GLib library of C routines
ii  libgstreamer-plugins-ba 0.10.25-7        GStreamer libraries from the "base
ii  libgstreamer0.10-0      0.10.25-4+b1     Core GStreamer libraries and eleme
ii  libgtk2.0-0             2.18.6-1         The GTK+ graphical user interface 
ii  libgudev-1.0-0          150-2            GObject-based wrapper library for 
ii  libhal1                 0.5.14-1         Hardware Abstraction Layer - share
ii  libiec61883-0           1.2.0-0.1        an partial implementation of IEC 6
ii  libjpeg62               6b-15            The Independent JPEG Group's JPEG 
ii  liboil0.3               0.3.16-1         Library of Optimized Inner Loops
ii  libpng12-0              1.2.42-1         PNG library - runtime
ii  libraw1394-11           2.0.5-1          library for direct access to IEEE 
ii  libshout3               2.2.2-5+b1       MP3/Ogg Vorbis broadcast streaming
ii  libsoup-gnome2.4-1      2.28.2-1         an HTTP library implementation in 
ii  libsoup2.4-1            2.28.2-1         an HTTP library implementation in 
ii  libspeex1               1.2~rc1-1        The Speex codec runtime library
ii  libstdc++6              4.4.2-9          The GNU Standard C++ Library v3
ii  libtag1c2a              1.6.1-1          TagLib Audio Meta-Data Library
ii  libv4l-0                0.6.4-1          Collection of video4linux support 
ii  libwavpack1             4.60.1-1         an audio codec (lossy and lossless
ii  libx11-6                2:1.3.3-1        X11 client-side library
ii  libxdamage1             1:1.1.2-1        X11 damaged region extension libra
ii  libxext6                2:1.1.1-2        X11 miscellaneous extension librar
ii  libxfixes3              1:4.0.4-1        X11 miscellaneous 'fixes' extensio
ii  libxml2                 2.7.6.dfsg-2+b1  GNOME XML library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages gstreamer0.10-plugins-good recommends:
ii  gstreamer0.10-x               0.10.25-7  GStreamer plugins for X11 and Pang

gstreamer0.10-plugins-good suggests no packages.

-- no debconf information

-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “A handshake with whitnesses is the same
  `-     as a signed contact.”  -- Jörg Schilling






More information about the Pkg-gstreamer-maintainers mailing list