Commit graph

18 commits

Author SHA1 Message Date
Sebastian Dröge 744f3efec5 ext/soundtouch/gstpitch.cc: Call gst_element_no_more_pads() after all pads are added.
Original commit message from CVS:
* ext/soundtouch/gstpitch.cc:
Call gst_element_no_more_pads() after all pads are added.
2008-06-10 12:54:59 +00:00
Sebastian Dröge 625a222f06 ext/: Cast NULL sentinels to void * as NULL is defined as an integer 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-04-25 23:22:56 +00:00
Tim-Philipp Müller 77d09884c6 Check for and define ERROR_CXXFLAGS and GST_CXXFLAGS and use them when 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-02-23 15:01:32 +00:00
Sebastian Dröge e6e86c4f2d ext/soundtouch/gstbpmdetect.cc: Clean up a bit and only allocate a temporary 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-28 11:47:18 +00:00
Sebastian Dröge b0c8b0f322 ext/soundtouch/gstpitch.cc: Cast a double to a GstClockTimeDiff to fix a compiler warning.
Original commit message from CVS:
* ext/soundtouch/gstpitch.cc:
Cast a double to a GstClockTimeDiff to fix a compiler warning.
2008-01-27 17:02:24 +00:00
Sebastian Dröge 7fa405c9c9 ext/soundtouch/gstpitch.cc: Don't send a LATENCY event for now until we get 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-27 07:51:06 +00:00
Sebastian Dröge 26b4a028d9 ext/soundtouch/gstpitch.*: Implement LATENCY query and notify about latency 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-27 07:37:40 +00:00
Sebastian Dröge 1a787a0cb2 ext/soundtouch/gstbpmdetect.cc: Only consider a BPM value above 1.0 as valid.
Original commit message from CVS:
* ext/soundtouch/gstbpmdetect.cc:
Only consider a BPM value above 1.0 as valid.
2008-01-27 06:31:52 +00:00
Sebastian Dröge 27fbdb97d1 ext/soundtouch/: Add BPM detection plugin based on SoundTouch's libBPM.
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-27 05:56:04 +00:00
Sebastian Dröge b05b9d04d6 ext/soundtouch/gstpitch.cc: Allow seeking only in TIME and DEFAULT format, 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-26 15:12:50 +00:00
Sebastian Dröge 23a2e7d7ad Add support for libsoundtouch 1.3.1 and add an ugly workaround for the 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.
2008-01-26 13:24:17 +00:00
Wouter Paesen 0830d14b27 ext/soundtouch/gstpitch.cc: Handle seeking correctly. Fixes #461068.
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-11-15 18:53:56 +00:00
Tim-Philipp Müller bb6c23aa43 configure.ac: Require core CVS. This is implicit in the -base CVS 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-10-10 11:44:01 +00:00
Michael Smith a6058388c1 ext/soundtouch/gstpitch.cc: If we receive a new segment event, don't try to 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.
2007-07-18 20:56:22 +00:00
Thomas Vander Stichele 57deb3aace higher up first
Original commit message from CVS:
higher up first
2006-09-03 21:12:36 +00:00
Wouter Paesen 34f03fe525 ext/soundtouch/: Make pitch element controllable via GstController interface (#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-06-14 18:07:51 +00:00
Tim-Philipp Müller f902029f7e GST_ORIGIN => GST_PACKAGE_ORIGIN
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-04-03 10:34:54 +00:00
Wouter Paeson 89ab6598cb Add new libsoundtouch-based pitch plugin (#331335).
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).
2006-03-22 14:31:47 +00:00