[Bug 754450] New: Increase the limit of frequency and channel number for audiotestsrc
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 2 05:11:07 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754450
Bug ID: 754450
Summary: Increase the limit of frequency and channel number for
audiotestsrc
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: cmertes at techfak.uni-bielefeld.de
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 310487
--> https://bugzilla.gnome.org/attachment.cgi?id=310487&action=edit
The patch implementing the changes.
As discussed on
http://gstreamer-devel.966125.n4.nabble.com/Ultrasound-and-audiotestsrc-tt4673383.html
the limitation of generated frequencies to the audible range is not really
necessary and there are use cases where it might be desirable to be able to
produce ultrasound. Furthermore, the restriction to mono and stereo signals is
also a needless limitation.
I therefore created a patch that lifts both these limitations while also
extending the caps negotiation code to make sure that the sample rate is always
at least four times as high as the frequency that ought to be generated. The
reasons for this not being twice the frequency were mentioned on the list but
mainly boil down to avoiding artifacts or digital silence being generated with
certain wave forms at or close to the Nyquist frequency with existing code.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list