Enable gstreamer backend for libcanberra

Bug #535470 reported by Daniel Letzeisen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libcanberra (Ubuntu)
Invalid
Wishlist
Unassigned
Declined for Maverick by Sebastien Bacher

Bug Description

libcanberra should be built with the gstreamer backend enabled. Currently, there is a libcanberra-gstreamer package in Debian sid and Ubuntu Lucid, but it does not work because the source package is not being built with the corresponding gstreamer option. libcanberra looks for Pulseaudio and ALSA first when trying to select a backend, so enabling gstreamer should not interfere with the default (K/X/)Ubuntu configuration.

The point of enabling gstreamer for libcanberra is to let the user choose more unconventional backends (OSS4, SDL, etc.) I've also filed this bug with Debian, but I've see no response and I wanted this fix to make it into Lucid.

As always, thanks for your time/attention,
Dave

ProblemType: Bug
Architecture: amd64
Date: Tue Mar 9 21:16:53 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100107)
Package: libcanberra0 0.22-1ubuntu2
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: libcanberra
Uname: Linux 2.6.33-020633-generic x86_64

Revision history for this message
Daniel Letzeisen (dtl131) wrote :
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Sorry, I forgot the link to Debian bug tracker: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563353
And here's the technical info from that report:

Installing libcanberra-gstreamer does not enable the gstreamer backend. libcanberra still tries to use ALSA directly.

Verified:
- gstreamer and all appropriate plugins are installed
- gstreamer is set to use appropriate sink (oss4sink in my case)
- Sample .ogg and .wav files exist and are playable through gstreamer
- canberra-gtk-play works with ALSA emulation

Sample output (with no ALSA emulation enabled):
canberra-gtk-play --file=test.wav
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
Failed to play sound: File or data not found

Daniel T Chen (crimsun)
Changed in libcanberra (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Nevermind. Debian/Ubuntu devs have no interest in this.

Changed in libcanberra (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.