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 310380 - audioresample needs porting to 0.9
audioresample needs porting to 0.9
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: High normal
: NONE
Assigned To: David Schleef
GStreamer Maintainers
Depends on:
Blocks: 116051
 
 
Reported: 2005-07-14 15:33 UTC by Andy Wingo
Modified: 2005-11-14 12:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andy Wingo 2005-07-14 15:33:39 UTC
The audioscale element needs to be ported to GStreamer 0.9, preferably using
GstBaseTransform. As it is part of the base plugins set this is a high priority.
Comment 1 David Schleef 2005-07-14 19:41:34 UTC
Under no circumstances should audioscale continue.  It was rewritten as
audioresample a long time ago.  The library it uses should be copied into
gst-plugins-base.
Comment 2 Andy Wingo 2005-07-16 15:42:57 UTC
OK Computer!

I note for posterity that said plugin is located in
gst-plugins/ext/audioresample and gst-plugins/gst-libs/gst/resample.
Comment 3 David Schleef 2005-07-16 19:59:18 UTC
No, audioresample uses a library at
https://cvs.comedi.org/cgi-bin/viewcvs.cgi/audioresample/.

I'll copy it into gst-plugins-base shortly.
Comment 4 Thomas Vander Stichele 2005-08-24 18:06:50 UTC
thanks for copying.  I ported audioresample, it uses basetransform now as well.

Some conversions make it unhappy though.

This one shows an invalid write:

 /home/thomas/gst/head/gstreamer/tools/.libs/lt-gst-launch-0.9 -v sinesrc
num-buffers=2 ! audioresample ! audio/x-raw-int,rate=16000 ! fakesink


This one throws an error, because resample writes more bytes than it was told to
(grep for "bastard" in the log), which also causes an invalid write.

/home/thomas/gst/head/gstreamer/tools/.libs/lt-gst-launch-0.9 -v sinesrc
num-buffers=2 ! audio/x-raw-int,rate=44100 ! audioresample !
audio/x-raw-int,rate=8000 ! fakesink

There are also cases where resample writes less bytes than it reported it was
going to.  The previous pipeline will probably do that for the first buffer, and
then error out on too many bytes on the second.

Comment 5 Andy Wingo 2005-11-14 12:40:45 UTC
Because audioresample was ported, I'm closing this one. I opened a new bug for
the problems mentioned in comment #4, bug #321427.