summaryrefslogtreecommitdiffstats
path: root/ext/soundtouch/gstpitch.cc
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-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öge1-14/+91
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/: Add BPM detection plugin based on SoundTouch's libBPM.Sebastian Dröge1-20/+9
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-06-14ext/soundtouch/: Make pitch element controllable via GstController interface ↵Wouter Paesen1-3/+8
(#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 Paeson1-0/+709
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).