summaryrefslogtreecommitdiffstats
path: root/ext/soundtouch
AgeCommit message (Collapse)AuthorFilesLines
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).