GNOME Bugzilla – Bug 628045
No sound while a file is played.
Last modified: 2010-09-16 12:55:04 UTC
The following command does not generate any sounds at the moment while the program "mplayer" works as expected with the specified audio (Vorbis) file. elfring@Sonne:~> LANG=C gst-launch-0.10 playbin uri=file:///usr/share/sounds/gnome/default/alerts/bark.ogg Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstPulseSinkClock Got EOS from element "playbin0". Execution ended after 647739106 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...
Does any of this works: gst-launch-0.10 audiotestsrc ! autoaudiosink gst-launch-0.10 audiotestsrc ! alsasink gst-launch-0.10 playbin2 uri=file:///usr/share/sounds/gnome/default/alerts/bark.ogg gst-launch-0.10 playbin2 uri=file:///usr/share/sounds/gnome/default/alerts/bark.ogg audio-sink=alsasink what sink have you choosen in gstreamer-properties?
(In reply to comment #1) > Does any of this works: I do not hear any sounds from the suggested commands. > what sink have you choosen in gstreamer-properties? The application "Multimedia Systems Selector" shows the following audio settings. Default Output Plugin: Autodetect Default Input Plugin: ALSA
Then it is not the file. In case you run PulseAudio you could check the volumes there (gnome-volume-control or pavucontrol).
(In reply to comment #3) I'm stumped, I am so sorry. The command "gnome-volume-control" uncovered that the volume was unexpectedly muted.
Great, thanks for the update.
By the way: There are also other open issues involved. 1. I need to revive the sound driver by the command "rcalsasound restart" at the moment. Otherwise, the device seems to be busy or already allocated. 2. The sound settings must be occasionally unmuted by the programs "gnome-volume-control" and/or "kmix" a couple of times.
I believe there stability issues in your driver. A userspace app should not be able to kill your sound-driver. When the driver is realoaded it seems to load the mixer defaults and those seem to be muted. Check if you can save unmoted defaults with e.g. alsamixer. It would be good to continue the discussion e.g. with the alsa people, as I think its not related to gstreamer (luckily) :)