summaryrefslogtreecommitdiff
path: root/ext/soundtouch
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Meson as alternative/parallel build systemNirbheek Chauhan2016-08-201-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.com> Matej Knopp <matej.knopp@gmail.com> Jussi Pakkanen <jpakkane@gmail.com> (original port) Highlights of the features provided are: * Faster builds on Linux (~40-50% faster) * The ability to build with MSVC on Windows * Generate Visual Studio project files * Generate XCode project files * Much faster builds on Windows (on-par with Linux) * Seriously fast configure and building on embedded ... and many more. For more details see: http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html Building with Meson should work on both Linux and Windows, but may need a few more tweaks on other operating systems.
* bad: use new gst_element_class_add_static_pad_template()Vineeth TM2016-03-241-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=763081
* pitch: Set seqnum on newly created segment eventThibault Saunier2015-09-151-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755012
* soundtouch: Add missing break in switchEdward Hervey2014-04-081-0/+1
| | | | | | Whoops, modifying the pitch when modifying the output rate ... CID #1139749
* soundtouch: Call default event handler for basetransformJan Schmidt2013-12-101-1/+1
| | | | | Make pipeline end properly at EOS and not leak by passing events to the default event handler.
* pitch: Fix inverted condition in setcapsOlivier Crête2013-10-121-1/+1
|
* soundtouch: Fix compilation with soundtouch 1.4.0Sebastian Dröge2013-09-032-0/+14
| | | | | | | It used FLOAT_SAMPLES/INTEGER_SAMPLES #defines instead of ones properly prefixed with a namespace. https://bugzilla.gnome.org/show_bug.cgi?id=707390
* soundtouch: Allow compilation against float and integer version of the librarySebastian Dröge2013-09-023-42/+47
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=707270
* gst: Add better support for static pluginsSebastian Dröge2013-04-151-1/+1
|
* Fix FSF addressTim-Philipp Müller2012-11-042-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687520
* pitch: fix for start times > 0Tim-Philipp Müller2012-10-221-2/+2
| | | | | | | | | | | | Fixes buffering and playback of streams that start with a non-0 timestamp in totem (which has a 'pitch' element before pulsesink). Example URI: http://lobostv.lobocast.org.es:8004/lobostv.ogg Still breaks with chained oggs, on second chain. https://bugzilla.gnome.org/show_bug.cgi?id=686391
* Use gst_element_class_set_static_metadata()Tim-Philipp Müller2012-10-172-2/+2
| | | | | where possible. Avoids some string copies. Also re-indent some stuff. Also some indent fixes here and there.
* soundtouch: Transform timestamps properly after a seek.Jan Schmidt2012-09-261-17/+33
| | | | | | | | The segment is transformed to match the pitch conversion being applied, so make sure the timestamps being output match the configured downstream segment accordingly, and adjust the downstream segment position to match the stream time ratio also.
* replace gst_element_class_set_details_simple with gst_element_class_set_metadataMark Nauwelaerts2012-09-142-2/+2
|
* gst_message_new_duration -> gst_message_new_duration_changedTim-Philipp Müller2012-09-021-1/+1
|
* soundtouch: Don't assume output buffer timestampsEdward Hervey2012-08-141-27/+16
| | | | | | | There's no guarantee whatsoever that the first buffer to output will start at the segment.start. Instead, wait for the first buffer after a segment, and use that timestamp
* tag: Update for taglist/tag event API changesSebastian Dröge2012-07-281-1/+1
|
* pitch: register as effectStefan Sauer2012-07-111-1/+1
|
* soundtouch: port to 0.11Wim Taymans2012-07-102-162/+129
|
* gst: Update for GST_PLUGIN_DEFINE() API changesSebastian Dröge2012-04-051-1/+1
|
* gst: Update versioningSebastian Dröge2012-04-041-1/+1
|
* controller: port to new controller location and apiStefan Sauer2011-11-042-4/+1
|
* soundtouch: Handling incoming rate when requested.Jan Schmidt2011-08-302-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
* various (ext): add missing G_PARAM_STATIC_STRINGS flagsStefan Kost2010-10-191-3/+3
| | | | Canonicalize property names as needed.
* soundtouch: use $(LIBM) in Makefile.am instead of -lmTim-Philipp Müller2010-04-081-1/+1
|
* soundtouch: build fixes: #if -> #ifdefTim-Philipp Müller2010-03-221-2/+2
|
* soundtouch: removing very annoying g_print() in pitch elementTiago Katcipis2010-03-091-4/+0
| | | | Fixes #612208.
* win32: Include config.h before anything else. Fix mpegdemux LIBADDÐóñëàí Èæáóëàòîâ2010-01-122-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
* pitch: remove pointless gst_element_no_more_pads()Tim-Philipp Müller2009-11-021-2/+0
|
* soundtouch: fixes warnings on macosx snow leopardJosep Torra2009-10-112-8/+11
|
* Detect libsoundtouch 1.4 and higher.Jan Schmidt2009-02-222-5/+13
| | | | | In libsoundtouch 1.4, libBPM appears to have been subsumed into libSoundTouch, and into the soundtouch namespace.
* bpmdetect: Fix accidentally introduced stack overwriting introduced in last ↵Sebastian Dröge2009-02-161-1/+0
| | | | commit
* bpmdetect: Save one memory allocation per stereo bufferSebastian Dröge2009-02-161-5/+6
|
* bpmdetect: Pass at most 2048 samples to SoundTouch's BPMDetectSebastian Dröge2009-02-101-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.
* Don't install static libs for plugins. Fixes #550851 for -bad.Stefan Kost2008-11-041-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.
* ext/soundtouch/gstpitch.cc: Call gst_element_no_more_pads() after all pads ↵Sebastian Dröge2008-06-101-0/+2
| | | | | | | | are added. Original commit message from CVS: * ext/soundtouch/gstpitch.cc: Call gst_element_no_more_pads() after all pads are added.
* ext/: Cast NULL sentinels to void * as NULL is defined as an integer ↵Sebastian Dröge2008-04-251-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.
* Check for and define ERROR_CXXFLAGS and GST_CXXFLAGS and use them when ↵Tim-Philipp Müller2008-02-231-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.
* ext/soundtouch/gstbpmdetect.cc: Clean up a bit and only allocate a temporary ↵Sebastian Dröge2008-01-281-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.
* ext/soundtouch/gstpitch.cc: Cast a double to a GstClockTimeDiff to fix a ↵Sebastian Dröge2008-01-271-2/+4
| | | | | | | | compiler warning. Original commit message from CVS: * ext/soundtouch/gstpitch.cc: Cast a double to a GstClockTimeDiff to fix a compiler warning.
* ext/soundtouch/gstpitch.cc: Don't send a LATENCY event for now until we get ↵Sebastian Dröge2008-01-271-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.
* ext/soundtouch/gstpitch.*: Implement LATENCY query and notify about latency ↵Sebastian Dröge2008-01-272-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.
* ext/soundtouch/gstbpmdetect.cc: Only consider a BPM value above 1.0 as valid.Sebastian Dröge2008-01-271-1/+1
| | | | | | Original commit message from CVS: * ext/soundtouch/gstbpmdetect.cc: Only consider a BPM value above 1.0 as valid.
* ext/soundtouch/: Add BPM detection plugin based on SoundTouch's libBPM.Sebastian Dröge2008-01-275-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.
* ext/soundtouch/gstpitch.cc: Allow seeking only in TIME and DEFAULT format, ↵Sebastian Dröge2008-01-261-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.
* Add support for libsoundtouch 1.3.1 and add an ugly workaround for the ↵Sebastian Dröge2008-01-261-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.
* ext/soundtouch/gstpitch.cc: Handle seeking correctly. Fixes #461068.Wouter Paesen2007-11-151-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.
* configure.ac: Require core CVS. This is implicit in the -base CVS ↵Tim-Philipp Müller2007-10-101-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.
* ext/soundtouch/gstpitch.cc: If we receive a new segment event, don't try to ↵Michael Smith2007-07-181-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.
* higher up firstThomas Vander Stichele2006-09-031-2/+2
| | | | | Original commit message from CVS: higher up first