summaryrefslogtreecommitdiffstats
path: root/ext/ladspa/gstladspa.c
Commit message (Collapse)AuthorAgeFilesLines
* ext/ladspa/gstladspa.c: Convert ' ' into '_'. Try to keep as many characters ↵Wim Taymans2006-08-161-1/+4
| | | | | | | | | in the padtemplate names as possible. Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_base_init): Convert ' ' into '_'. Try to keep as many characters in the padtemplate names as possible.
* ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a ↵Andy Wingo2006-08-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | processor can work in place or not, and for... Original commit message from CVS: 2006-08-04 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a processor can work in place or not, and for keeping track of its state. Change the FlowReturn instance variable from "state" to "flow_state", all callers changed. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setup) (gst_signal_processor_start, gst_signal_processor_stop) (gst_signal_processor_cleanup): New functions to manage the processor's state. (gst_signal_processor_setcaps): start() as well as setup() here. (gst_signal_processor_prepare): Respect CAN_PROCESS_IN_PLACE. (gst_signal_processor_change_state): Stop and cleanup the processor as we go to NULL. * ext/ladspa/gstladspa.c (gst_ladspa_base_init): Reuse buffers if INPLACE_BROKEN is not set. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_prepare): Do the alloc_buffer in bytes, not frames.
* rework configure.ac; make asterisk rtp stuff compile on mingwThomas Vander Stichele2005-11-141-1/+1
| | | | | Original commit message from CVS: rework configure.ac; make asterisk rtp stuff compile on mingw
* Updates for two-arg init from GST_BOILERPLATE.Andy Wingo2005-08-281-4/+7
| | | | | | | | | | | | | | | | | Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * Updates for two-arg init from GST_BOILERPLATE. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use the second arg for the class, because G_OBJECT_GET_CLASS (self) returns the wrong thing. (gst_signal_processor_add_pad_from_template): Make pads of the right type. * ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make writable param specs G_PARAM_CONSTRUCT so default values work. (gst_ladspa_init): Use the second arg for the class.
* ext/ladspa/gstladspa.*: Finish porting, still doesn't work but it does ↵Andy Wingo2005-08-261-652/+291
| | | | | | | | | | | | | | compile and register. I have more features tha... Original commit message from CVS: 2005-08-26 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstladspa.c: * ext/ladspa/gstladspa.h: Finish porting, still doesn't work but it does compile and register. I have more features than you. * ext/ladspa/gstsignalprocessor.h: * ext/ladspa/gstsignalprocessor.c: Updates, bug fixen.
* ext/ladspa/gstladspa.*: Halfway-ported. Doesn't compile yet.Andy Wingo2005-08-251-53/+83
| | | | | | | | | | | | | | | Original commit message from CVS: 2005-08-25 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstladspa.h: * ext/ladspa/gstladspa.c: Halfway-ported. Doesn't compile yet. * ext/ladspa/gstsignalprocessor.h: * ext/ladspa/gstsignalprocessor.c: New files, the start of a base class for DSP elements. * configure.ac: Sort the external libs checks, add a ladspa check, output the ladspa makefile.
* removed obsolete includeStefan Kost2005-08-021-1/+0
| | | | | Original commit message from CVS: removed obsolete include
* deactivate and remove dparams (libgstcontrol)Stefan Kost2005-08-011-119/+28
| | | | | Original commit message from CVS: deactivate and remove dparams (libgstcontrol)
* ext/ladspa/gstladspa.c: make sure longname, description and author are valid ↵Benjamin Otte2004-07-191-2/+6
| | | | | | | | UTF-8 Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_base_init): make sure longname, description and author are valid UTF-8
* second batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-211-1/+1
| | | | | | | | | foreign compilers (forte) and gtk-doc (in ... Original commit message from CVS: second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in gst-plugins/ext/ this time)
* ext/ladspa/gstladspa.c: clean up debuggingBenjamin Otte2004-04-051-21/+46
| | | | | | | | | | Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_class_init), (gst_ladspa_init), (gst_ladspa_force_src_caps), (gst_ladspa_set_property), (gst_ladspa_get_property), (gst_ladspa_instantiate), (gst_ladspa_activate), (gst_ladspa_deactivate), (gst_ladspa_loop), (gst_ladspa_chain): clean up debugging
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-113/+113
| | | | | Original commit message from CVS: don't mix tabs and spaces
* gst-indentThomas Vander Stichele2004-03-141-399/+421
| | | | | Original commit message from CVS: gst-indent
* fixes for #133316, #133663 and #133528 (Stefan Kost)Thomas Vander Stichele2004-02-121-8/+11
| | | | | Original commit message from CVS: fixes for #133316, #133663 and #133528 (Stefan Kost)
* Merge CAPS branchDavid Schleef2003-12-221-94/+38
| | | | | Original commit message from CVS: Merge CAPS branch
* remove copyright field from pluginsAndy Wingo2003-12-041-5/+10
| | | | | Original commit message from CVS: remove copyright field from plugins
* + checking in plugin category changesLeif Johnson2003-11-161-1/+1
| | | | | Original commit message from CVS: + checking in plugin category changes
* Include config.hDavid Schleef2003-11-061-0/+3
| | | | | Original commit message from CVS: Include config.h
* This was wrongRonald S. Bultje2003-11-021-0/+14
| | | | | Original commit message from CVS: This was wrong
* Fix this too. Note that the per-plugin licensing is gone because of ↵Ronald S. Bultje2003-11-021-62/+83
| | | | | | | company's new per-plugin (rather than per-element... Original commit message from CVS: Fix this too. Note that the per-plugin licensing is gone because of company's new per-plugin (rather than per-element) API. We basically need both... Ohwell, I just want this stuff to compile.
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-081-9/+10
| | | | | | | deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
* New typefind system: bytestream is now part of the core all plugins have ↵Ronald S. Bultje2003-10-011-3/+0
| | | | | | | | | | | | | | | | | | | | | been modified to use this new typefind syste... Original commit message from CVS: New typefind system: * bytestream is now part of the core * all plugins have been modified to use this new typefind system * asf typefinding added * mpeg video stream typefiding removed because it's broken * duplicate typefind entries removed * extra id3 typefinding added, because we've seen 4 types of files (riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs to work. Instead, I've added an id3 element and let it redo typefiding after the id3 header. this needs a hack because spider only typefinds once. We can remove this hack once spider supports multiple typefinds. * with all this, mp3 typefinding is semi-rewritten * id3 typefinding in flac/vorbis is removed, it's no longer needed * fixed spider and gst-typefind to use this, too. * Other general cleanups
* reverting error patch before making a branch.Thomas Vander Stichele2003-09-161-6/+2
| | | | | Original commit message from CVS: reverting error patch before making a branch.
* converted gst_element_error to new format in ext/ - gettext pendingBenjamin Otte2003-09-151-2/+6
| | | | | Original commit message from CVS: converted gst_element_error to new format in ext/ - gettext pending
* Fix warning on 64-bit architectures. (sizeof() returns size_t, which is not ↵David Schleef2003-07-231-2/+2
| | | | | | | | int) Original commit message from CVS: Fix warning on 64-bit architectures. (sizeof() returns size_t, which is not int)
* + changes for new float caps without slope/intercept + some category changes ↵Leif Johnson2003-07-191-23/+22
| | | | | | | | for plugins Original commit message from CVS: + changes for new float caps without slope/intercept + some category changes for plugins
* actually recurse into sndfile if we are able big ladspa cleanups, mainly to ↵Andy Wingo2003-07-161-504/+331
| | | | | | | | | | | | | | | | | comply with the buffer-frames caps proper... Original commit message from CVS: * actually recurse into sndfile if we are able * big ladspa cleanups, mainly to comply with the buffer-frames caps property, but also general cleanups - the samplerate prop is gone, if you want to set it explicitly (as in for get-based plugins) you need to use a filtered connection, just like with buffer-frames * big float2int and int2float changes for buffer-frames compatibility - I think it's quite a bit simpler * make the ossclock general, add it to gstaudio, and use it in sndfile as well i need to update mimetypes, but that's coming soon. there are some other plugins that don't support buffer-frames, i guess i need to get around to fixing them as well.
* New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2003-07-061-9/+9
| | | | | | | over to the new mimetypes spec as descri... Original commit message from CVS: New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
* compatibility fix for new GST_DEBUG stuff.Benjamin Otte2003-06-291-22/+22
| | | | | | | | Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
* g_warning -> GST_DEBUGThomas Vander Stichele2003-06-051-1/+1
| | | | | Original commit message from CVS: g_warning -> GST_DEBUG
* PadConnect -> PadLinkThomas Vander Stichele2003-01-101-4/+4
| | | | | Original commit message from CVS: PadConnect -> PadLink
* another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele2003-01-101-12/+12
| | | | | | | | | | please refrain of making them yourself, so t... Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts
* Add a statement terminating semicolon.David I. Lehn2002-09-211-1/+1
| | | | | Original commit message from CVS: Add a statement terminating semicolon.
* Redo last change by using glib's CLAMP() macroDavid Schleef2002-09-201-4/+3
| | | | | Original commit message from CVS: Redo last change by using glib's CLAMP() macro
* Clip defaults of control parameters to range.David Schleef2002-09-201-0/+4
| | | | | Original commit message from CVS: Clip defaults of control parameters to range.
* plugins part of license field patchChristian Schaller2002-09-181-0/+1
| | | | | Original commit message from CVS: plugins part of license field patch
* fix _get()-based ladspa plugins when bufferpools are presentAndy Wingo2002-09-161-1/+3
| | | | | Original commit message from CVS: fix _get()-based ladspa plugins when bufferpools are present
* Some instantiate() routines require nonzero sample rate. ladspa_mbeq (the ↵Andy Wingo2002-09-161-8/+5
| | | | | | | | multi-band eq) is one of these. Original commit message from CVS: Some instantiate() routines require nonzero sample rate. ladspa_mbeq (the multi-band eq) is one of these.
* This updates all plugins to the new API for gst_pad_try_set_capsRonald S. Bultje2002-09-101-1/+1
| | | | | Original commit message from CVS: This updates all plugins to the new API for gst_pad_try_set_caps
* removing warnings as approved by wimThomas Vander Stichele2002-09-091-3/+1
| | | | | Original commit message from CVS: removing warnings as approved by wim
* use gstcontrol as a lib, not a pluginSteve Baker2002-08-111-4/+2
| | | | | Original commit message from CVS: use gstcontrol as a lib, not a plugin
* fix to adder: don't pull on unusable padsAndy Wingo2002-07-261-22/+21
| | | | | | | | | | Original commit message from CVS: * fix to adder: don't pull on unusable pads * fix to ladspa: get output buffers first, so we can know how many frames to process - this breaks inplace buffer stuff, hmm * fix to float2int: add a bufferpool with the same nframes as the source pad's pool -> no extra latency
* fix a segfault, and support ladspa 1.1 (default parameter values)Andy Wingo2002-07-241-9/+45
| | | | | Original commit message from CVS: fix a segfault, and support ladspa 1.1 (default parameter values)
* include the system ladspa.h fileThomas Vander Stichele2002-06-041-1/+1
| | | | | Original commit message from CVS: include the system ladspa.h file
* fix a problem in ladspa -- i think...Andy Wingo2002-05-301-3/+3
| | | | | Original commit message from CVS: fix a problem in ladspa -- i think...
* use new dparams api. run demo_dparams to hear how smooth it is nowSteve Baker2002-05-291-10/+12
| | | | | Original commit message from CVS: use new dparams api. run demo_dparams to hear how smooth it is now
* use new bytestream apiSteve Baker2002-05-151-2/+3
| | | | | Original commit message from CVS: use new bytestream api
* a hack to work around intltool's brokenness a current check for mpeg2dec ↵Andy Wingo2002-04-201-9/+7
| | | | | | | | | | | details->klass reorganizations an element br... Original commit message from CVS: * a hack to work around intltool's brokenness * a current check for mpeg2dec * details->klass reorganizations * an element browser that uses details->klass * separated cdxa parse out from the avi directory
* s/G_MINFLOAT/G_MAXFLOAT unref the buffer pool in the loop funcSteve Baker2002-04-201-1/+3
| | | | | | Original commit message from CVS: s/G_MINFLOAT/G_MAXFLOAT unref the buffer pool in the loop func
* A fairly large reworking of the ladspa _get, _chain and _loop funcs. ↵Steve Baker2002-04-201-241/+399
| | | | | | | | | | | | | | | | | highlights are: Original commit message from CVS: A fairly large reworking of the ladspa _get, _chain and _loop funcs. highlights are: - pad names are now g_strcanonised - in all cases possible, src and sink buffers are shared - all ladspa properties are exposed as dparams and element properties - the buffers are now processed in dparam driven loops - timestamps on buffers should be correct - misc fixes It has been minimally tested - the following pipeline works for me: gst-launch ladspa_sine_fcac Frequency=440.0 Amplitude=1.0 name=fcac1 ladspa_sine_fcac Frequency=450.0 Amplitude=1.0 name=fcac2 ladspa_freeverb3 Wet-Level=0.5 name=free float2int name=f2i fcac1.Output!free.Input--Left- free.Output--Left-!f2i.sink%d fcac2.Output!free.Input--Right- free.Output--Right-!f2i.sink%d f2i.src!sink osssink