[gstreamer-bugs] [Bug 161704] [alsasink] won't handle weird sample rate (8012, 11024)

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sun Dec 19 14:01:57 PST 2004

GStreamer | gst-plugins | Ver: HEAD CVS

------- Additional Comments From bugs at leroutier.net  2004-12-19 17:01 -------
in the snd_pcm_hardware_t structure, there are 2 things :
rates field contains the bit-flags of supported rates (SNDRV_PCM_RATE_XXX). When
the chip supports continuous rates, pass CONTINUOUS bit additionally. The
pre-defined rate bits are provided only for typical rates. If your chip supports
unconventional rates, you need to add KNOT bit and set up the hardware
constraint manually (explained later).
rate_min and rate_max define the minimal and maximal sample rate. This should
correspond somehow to rates bits

so, once the device is selected, we know what sample rates are usable (and
certainly not rate_min => rate_max which looks like we do actually (in gstalsa.c)

i'll try do that hardware probing

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.

More information about the Gstreamer-bugs mailing list