summaryrefslogtreecommitdiff
path: root/ext/soundtouch
AgeCommit message (Collapse)AuthorFilesLines
2011-08-30soundtouch: Handling incoming rate when requested.Jan Schmidt2-9/+49
Absorb inbound segments with rate != 1.0 and output a segment with rate taken from the new output-rate property, adjusting the segment applied_rate, stream duration and timestamps as necessary to compensate
2010-10-19various (ext): add missing G_PARAM_STATIC_STRINGS flagsStefan Kost1-3/+3
Canonicalize property names as needed.
2010-04-08soundtouch: use $(LIBM) in Makefile.am instead of -lmTim-Philipp Müller1-1/+1
2010-03-22soundtouch: build fixes: #if -> #ifdefTim-Philipp Müller1-2/+2
2010-03-09soundtouch: removing very annoying g_print() in pitch elementTiago Katcipis1-4/+0
Fixes #612208.
2010-01-12win32: Include config.h before anything else. Fix mpegdemux LIBADDÐóñëàí Èæáóëàòîâ2-11/+12
Because config.h defines __MSVCRT_VERSION__, which should be defined before inclusion of any system header. Also fixes mpegdemux Makefile.am LIBADD typo. Fixes #606665
2009-11-02pitch: remove pointless gst_element_no_more_pads()Tim-Philipp Müller1-2/+0
2009-10-11soundtouch: fixes warnings on macosx snow leopardJosep Torra2-8/+11
2009-02-22Detect libsoundtouch 1.4 and higher.Jan Schmidt2-5/+13
In libsoundtouch 1.4, libBPM appears to have been subsumed into libSoundTouch, and into the soundtouch namespace.
2009-02-16bpmdetect: Fix accidentally introduced stack overwriting introduced in last ↵Sebastian Dröge1-1/+0
commit
2009-02-16bpmdetect: Save one memory allocation per stereo bufferSebastian Dröge1-5/+6
2009-02-10bpmdetect: Pass at most 2048 samples to SoundTouch's BPMDetectSebastian Dröge1-4/+16
Internally BPMDetect assumes that at most 2048 samples are passed to it at once and stores those in a stack allocated static sized array. If we pass too many samples this will result in a buffer overflow resulting in heavy stack corruption and a crash. Fixes bug #570996.
2008-11-04Don't install static libs for plugins. Fixes #550851 for -bad.Stefan Kost1-0/+1
Original commit message from CVS: * ext/alsaspdif/Makefile.am: * ext/amrwb/Makefile.am: * ext/apexsink/Makefile.am: * ext/arts/Makefile.am: * ext/artsd/Makefile.am: * ext/audiofile/Makefile.am: * ext/audioresample/Makefile.am: * ext/bz2/Makefile.am: * ext/cdaudio/Makefile.am: * ext/celt/Makefile.am: * ext/dc1394/Makefile.am: * ext/dirac/Makefile.am: * ext/directfb/Makefile.am: * ext/divx/Makefile.am: * ext/dts/Makefile.am: * ext/faac/Makefile.am: * ext/faad/Makefile.am: * ext/gsm/Makefile.am: * ext/hermes/Makefile.am: * ext/ivorbis/Makefile.am: * ext/jack/Makefile.am: * ext/jp2k/Makefile.am: * ext/ladspa/Makefile.am: * ext/lcs/Makefile.am: * ext/libfame/Makefile.am: * ext/libmms/Makefile.am: * ext/metadata/Makefile.am: * ext/mpeg2enc/Makefile.am: * ext/mplex/Makefile.am: * ext/musepack/Makefile.am: * ext/musicbrainz/Makefile.am: * ext/mythtv/Makefile.am: * ext/nas/Makefile.am: * ext/neon/Makefile.am: * ext/ofa/Makefile.am: * ext/polyp/Makefile.am: * ext/resindvd/Makefile.am: * ext/sdl/Makefile.am: * ext/shout/Makefile.am: * ext/snapshot/Makefile.am: * ext/sndfile/Makefile.am: * ext/soundtouch/Makefile.am: * ext/spc/Makefile.am: * ext/swfdec/Makefile.am: * ext/tarkin/Makefile.am: * ext/theora/Makefile.am: * ext/timidity/Makefile.am: * ext/twolame/Makefile.am: * ext/x264/Makefile.am: * ext/xine/Makefile.am: * ext/xvid/Makefile.am: * gst-libs/gst/app/Makefile.am: * gst-libs/gst/dshow/Makefile.am: * gst/aiffparse/Makefile.am: * gst/app/Makefile.am: * gst/audiobuffer/Makefile.am: * gst/bayer/Makefile.am: * gst/cdxaparse/Makefile.am: * gst/chart/Makefile.am: * gst/colorspace/Makefile.am: * gst/dccp/Makefile.am: * gst/deinterlace/Makefile.am: * gst/deinterlace2/Makefile.am: * gst/dvdspu/Makefile.am: * gst/festival/Makefile.am: * gst/filter/Makefile.am: * gst/flacparse/Makefile.am: * gst/flv/Makefile.am: * gst/games/Makefile.am: * gst/h264parse/Makefile.am: * gst/librfb/Makefile.am: * gst/mixmatrix/Makefile.am: * gst/modplug/Makefile.am: * gst/mpeg1sys/Makefile.am: * gst/mpeg4videoparse/Makefile.am: * gst/mpegdemux/Makefile.am: * gst/mpegtsmux/Makefile.am: * gst/mpegvideoparse/Makefile.am: * gst/mve/Makefile.am: * gst/nsf/Makefile.am: * gst/nuvdemux/Makefile.am: * gst/overlay/Makefile.am: * gst/passthrough/Makefile.am: * gst/pcapparse/Makefile.am: * gst/playondemand/Makefile.am: * gst/rawparse/Makefile.am: * gst/real/Makefile.am: * gst/rtjpeg/Makefile.am: * gst/rtpmanager/Makefile.am: * gst/scaletempo/Makefile.am: * gst/sdp/Makefile.am: * gst/selector/Makefile.am: * gst/smooth/Makefile.am: * gst/smoothwave/Makefile.am: * gst/speed/Makefile.am: * gst/speexresample/Makefile.am: * gst/stereo/Makefile.am: * gst/subenc/Makefile.am: * gst/tta/Makefile.am: * gst/vbidec/Makefile.am: * gst/videodrop/Makefile.am: * gst/videosignal/Makefile.am: * gst/virtualdub/Makefile.am: * gst/vmnc/Makefile.am: * gst/y4m/Makefile.am: * sys/acmenc/Makefile.am: * sys/cdrom/Makefile.am: * sys/dshowdecwrapper/Makefile.am: * sys/dshowsrcwrapper/Makefile.am: * sys/dvb/Makefile.am: * sys/dxr3/Makefile.am: * sys/fbdev/Makefile.am: * sys/oss4/Makefile.am: * sys/qcam/Makefile.am: * sys/qtwrapper/Makefile.am: * sys/vcd/Makefile.am: * sys/wininet/Makefile.am: * win32/common/config.h: Don't install static libs for plugins. Fixes #550851 for -bad.
2008-06-10ext/soundtouch/gstpitch.cc: Call gst_element_no_more_pads() after all pads ↵Sebastian Dröge1-0/+2
are added. Original commit message from CVS: * ext/soundtouch/gstpitch.cc: Call gst_element_no_more_pads() after all pads are added.
2008-04-25ext/: Cast NULL sentinels to void * as NULL is defined as an integer ↵Sebastian Dröge1-1/+1
constant in most environments when using C++ and... Original commit message from CVS: * ext/mpeg2enc/gstmpeg2enc.cc: * ext/soundtouch/gstbpmdetect.cc: Cast NULL sentinels to void * as NULL is defined as an integer constant in most environments when using C++ and it's size might be different from a pointer.
2008-02-23Check for and define ERROR_CXXFLAGS and GST_CXXFLAGS and use them when ↵Tim-Philipp Müller1-2/+2
building C++ code. Original commit message from CVS: * configure.ac: * ext/mpeg2enc/Makefile.am: * ext/soundtouch/Makefile.am: * gst/modplug/Makefile.am: Check for and define ERROR_CXXFLAGS and GST_CXXFLAGS and use them when building C++ code.
2008-01-28ext/soundtouch/gstbpmdetect.cc: Clean up a bit and only allocate a temporary ↵Sebastian Dröge1-11/+20
buffer for the data if processing stereo... Original commit message from CVS: * ext/soundtouch/gstbpmdetect.cc: Clean up a bit and only allocate a temporary buffer for the data if processing stereo data as BPMDetect downmixes from stereo to mono and stores the result in the input data. Thanks to Stefan Kost for the suggestions.
2008-01-27ext/soundtouch/gstpitch.cc: Cast a double to a GstClockTimeDiff to fix a ↵Sebastian Dröge1-2/+4
compiler warning. Original commit message from CVS: * ext/soundtouch/gstpitch.cc: Cast a double to a GstClockTimeDiff to fix a compiler warning.
2008-01-27ext/soundtouch/gstpitch.cc: Don't send a LATENCY event for now until we get ↵Sebastian Dröge1-1/+5
the usage right. Original commit message from CVS: * ext/soundtouch/gstpitch.cc: Don't send a LATENCY event for now until we get the usage right.
2008-01-27ext/soundtouch/gstpitch.*: Implement LATENCY query and notify about latency ↵Sebastian Dröge2-15/+93
changes. Original commit message from CVS: * ext/soundtouch/gstpitch.cc: * ext/soundtouch/gstpitch.hh: Implement LATENCY query and notify about latency changes. Unfortunately we don't have a fixed latency but it changes a bit with each buffer so we only send an LATENCY event with the maximum latency if it changes. Always calculate the timestamp, duration, etc from the sample rate instead of using a pre-calculated duration for one sample to prevent large rounding errors.
2008-01-27ext/soundtouch/gstbpmdetect.cc: Only consider a BPM value above 1.0 as valid.Sebastian Dröge1-1/+1
Original commit message from CVS: * ext/soundtouch/gstbpmdetect.cc: Only consider a BPM value above 1.0 as valid.
2008-01-27ext/soundtouch/: Add BPM detection plugin based on SoundTouch's libBPM.Sebastian Dröge5-26/+343
Original commit message from CVS: * ext/soundtouch/Makefile.am: * ext/soundtouch/gstbpmdetect.cc: * ext/soundtouch/gstbpmdetect.hh: * ext/soundtouch/plugin.c: (plugin_init): Add BPM detection plugin based on SoundTouch's libBPM. * ext/soundtouch/gstpitch.cc: Allow sample rates until MAX instead of only 48kHz and remove the buffer-frames field from that caps. Clear the remaining samples completely when necessary to get into a clean state again.
2008-01-26ext/soundtouch/gstpitch.cc: Allow seeking only in TIME and DEFAULT format, ↵Sebastian Dröge1-25/+61
other formats will not work as expected. A... Original commit message from CVS: * ext/soundtouch/gstpitch.cc: Allow seeking only in TIME and DEFAULT format, other formats will not work as expected. Also handle a stop position of -1 correctly for seeks, newsegment events and the queries. This fixes playback with the pitch element if upstream doesn't know the duration or has -1 as stop position in NEWSEGMENT events for other reasons. Before simply nothing was played as the segment was going from 0 to 0. Send a GST_MESSAGE_DURATION whenever the rate or tempo is changed so applications can update their cached duration. Fixes bug #503308. Some random cleanup and memory leak closing.
2008-01-26Add support for libsoundtouch 1.3.1 and add an ugly workaround for the ↵Sebastian Dröge1-3/+12
header definined PACKAGE and other variables f... Original commit message from CVS: * configure.ac: * ext/soundtouch/gstpitch.cc: Add support for libsoundtouch 1.3.1 and add an ugly workaround for the header definined PACKAGE and other variables for which we need our own values from config.h.
2007-11-15ext/soundtouch/gstpitch.cc: Handle seeking correctly. Fixes #461068.Wouter Paesen1-2/+105
Original commit message from CVS: Patch by: Wouter Paesen <wouter at blue-gate dot be> * ext/soundtouch/gstpitch.cc: Handle seeking correctly. Fixes #461068.
2007-10-10configure.ac: Require core CVS. This is implicit in the -base CVS ↵Tim-Philipp Müller1-13/+4
requirement already, so we might just well spell i... Original commit message from CVS: * configure.ac: Require core CVS. This is implicit in the -base CVS requirement already, so we might just well spell it out. Also, we do need at least 0.10.14 for gst_element_class_set_details_simple(). Make check for gmyth a bit more restrictive so things don't break if the next version changes API. * ext/alsaspdif/alsaspdifsink.c: Work around alsa alloca macros triggering 'always evaluates to true' warnings with gcc-4.2 and fix compilation with gcc-4.2. Also don't leak the device string. * ext/mpeg2enc/gstmpeg2enc.cc: * ext/soundtouch/gstpitch.cc: * gst/modplug/gstmodplug.cc: Fix compilation with g++4.2 and -Wall -Werror (also needs plugin define fix from core CVS). Fixes #462737.
2007-07-18ext/soundtouch/gstpitch.cc: If we receive a new segment event, don't try to ↵Michael Smith1-3/+8
push buffers out in response (without fir... Original commit message from CVS: * ext/soundtouch/gstpitch.cc: If we receive a new segment event, don't try to push buffers out in response (without first sending it on!). Instead, flush internal buffers on receiving flush events. Fixes playback after seeking.
2006-09-03higher up firstThomas Vander Stichele1-2/+2
Original commit message from CVS: higher up first
2006-06-14ext/soundtouch/: Make pitch element controllable via GstController interface ↵Wouter Paesen2-6/+11
(#344821). Original commit message from CVS: Patch by: Wouter Paesen <wouter at kangaroot net> * ext/soundtouch/Makefile.am: * ext/soundtouch/gstpitch.cc: Make pitch element controllable via GstController interface (#344821). * configure.ac: Up core requirements to 0.10.8.1/CVS because earlier GstControllers can't handle float properties correctly. Check for GstController CFLAGS and LIBS. * tests/icles/Makefile.am: * tests/icles/pitch-test.c: (main): Add small test program for the above (welcome to the 80s!).
2006-04-03GST_ORIGIN => GST_PACKAGE_ORIGINTim-Philipp Müller1-1/+1
Original commit message from CVS: * ext/soundtouch/gstpitch.cc: * ext/theora/theoradec.c: * gst/modplug/gstmodplug.cc: GST_ORIGIN => GST_PACKAGE_ORIGIN GST_PACKAGE => GST_PACKAGE_NAME
2006-03-22Add new libsoundtouch-based pitch plugin (#331335).Wouter Paeson3-0/+806
Original commit message from CVS: Patch by: Wouter Paeson <wouter at kangaroot dot net> * configure.ac: * ext/Makefile.am: * ext/soundtouch/Makefile.am: * ext/soundtouch/gstpitch.cc: * ext/soundtouch/gstpitch.hh: Add new libsoundtouch-based pitch plugin (#331335).