Enable gstreamer backend for libcanberra
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcanberra (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned | ||
Bug Description
libcanberra should be built with the gstreamer backend enabled. Currently, there is a libcanberra-
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-
Changed in libcanberra (Ubuntu): | |
importance: | Undecided → Wishlist |
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): c:768:( parse_card) cannot find card '0' 4154:(_ snd_config_ evaluate) function snd_func_ card_driver returned error: No such file or directory c:392:( snd_func_ concat) error evaluating strings 4154:(_ snd_config_ evaluate) function snd_func_concat returned error: No such file or directory c:1251: (snd_func_ refer) error evaluating name 4154:(_ snd_config_ evaluate) function snd_func_refer returned error: No such file or directory 4633:(snd_ config_ expand) Evaluate error: No such file or directory (snd_pcm_ open_noupdate) Unknown PCM default
canberra-gtk-play --file=test.wav
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib conf.c:
ALSA lib pcm.c:2211:
Failed to play sound: File or data not found