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 341732 - [alsasink] doesn't query supported sample rates
[alsasink] doesn't query supported sample rates
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.5
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 341033 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-14 12:07 UTC by Sebastian Dröge (slomo)
Modified: 2006-07-05 16:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2006-05-14 12:07:27 UTC
Hi,
the alsa sink doesn't query for the correct rate caps at least on
Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)

with gst-plugins-base 0.10.5

works fine:
gst-launch-0.10 audiotestsrc ! audioconvert ! "audio/x-raw-int, rate=48000" ! alsasink
http://librarian.launchpad.net/2617575/gst-launch-alsa.log
gst-launch-0.10 audiotestsrc ! audioconvert ! osssink
http://librarian.launchpad.net/2617580/gst-launch-oss.log

fails:
gst-launch-0.10 audiotestsrc ! audioconvert ! alsasink
http://librarian.launchpad.net/2621046/gst-launch.log

The logs are created with GST_DEBUG=3

Bye

PS: I'm not completely sure whether it's the alsa sink not querying correctly or ALSA returning bogus results

Ubuntu Bug: https://launchpad.net/distros/ubuntu/+source/gst-plugins-base0.10/+bug/42881
Comment 1 Tim-Philipp Müller 2006-05-15 17:17:03 UTC
 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/alsa/gstalsasink.c: (gst_alsasink_getcaps):
          Query supported sample rates. Fixes #341732.

Comment 2 Sebastian Dröge (slomo) 2006-05-15 17:47:07 UTC
thanks Tim, you rock :)
Comment 3 Sven Arvidsson 2006-07-05 16:15:49 UTC
*** Bug 341033 has been marked as a duplicate of this bug. ***