summaryrefslogtreecommitdiffstats
path: root/gst/audiofx/audiofx.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-08-16 17:02:07 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-08-16 17:02:07 +0000
commit842451a72045b962c008c93f32f52a53aba1eb42 (patch)
treedeeadf41b14709b78fe37c37ee22a9f6e6de03c6 /gst/audiofx/audiofx.c
parent22bcaa904c0cb9e620c77378121d691617ada764 (diff)
gst/audiofx/: Add Chebyshev lowpass/highpass and bandpass/bandreject elements.
Original commit message from CVS: reviewed by: Stefan Kost <ensonic@users.sf.net> * gst/audiofx/Makefile.am: * gst/audiofx/audiochebyshevfreqband.c: (gst_audio_chebyshev_freq_band_mode_get_type), (gst_audio_chebyshev_freq_band_base_init), (gst_audio_chebyshev_freq_band_dispose), (gst_audio_chebyshev_freq_band_class_init), (gst_audio_chebyshev_freq_band_init), (generate_biquad_coefficients), (calculate_gain), (generate_coefficients), (gst_audio_chebyshev_freq_band_set_property), (gst_audio_chebyshev_freq_band_get_property), (gst_audio_chebyshev_freq_band_setup), (process), (process_64), (process_32), (gst_audio_chebyshev_freq_band_transform_ip), (gst_audio_chebyshev_freq_band_start): * gst/audiofx/audiochebyshevfreqband.h: * gst/audiofx/audiochebyshevfreqlimit.c: (gst_audio_chebyshev_freq_limit_mode_get_type), (gst_audio_chebyshev_freq_limit_base_init), (gst_audio_chebyshev_freq_limit_dispose), (gst_audio_chebyshev_freq_limit_class_init), (gst_audio_chebyshev_freq_limit_init), (generate_biquad_coefficients), (calculate_gain), (generate_coefficients), (gst_audio_chebyshev_freq_limit_set_property), (gst_audio_chebyshev_freq_limit_get_property), (gst_audio_chebyshev_freq_limit_setup), (process), (process_64), (process_32), (gst_audio_chebyshev_freq_limit_transform_ip), (gst_audio_chebyshev_freq_limit_start): * gst/audiofx/audiochebyshevfreqlimit.h: * gst/audiofx/audiofx.c: (plugin_init): Add Chebyshev lowpass/highpass and bandpass/bandreject elements. Fixes #464800. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/audiochebyshevfreqband.c: (setup_audiochebyshevfreqband), (cleanup_audiochebyshevfreqband), (GST_START_TEST), (audiochebyshevfreqband_suite), (main): * tests/check/elements/audiochebyshevfreqlimit.c: (setup_audiochebyshevfreqlimit), (cleanup_audiochebyshevfreqlimit), (GST_START_TEST), (audiochebyshevfreqlimit_suite), (main): Add unit tests for the chebyshev filters. * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/gst-plugins-good-plugins.args: * docs/plugins/inspect/plugin-1394.xml: * docs/plugins/inspect/plugin-audiofx.xml: * docs/plugins/inspect/plugin-dv.xml: * docs/plugins/inspect/plugin-flac.xml: * docs/plugins/inspect/plugin-jpeg.xml: * docs/plugins/inspect/plugin-png.xml: * docs/plugins/inspect/plugin-rtp.xml: * docs/plugins/inspect/plugin-shout2send.xml: * docs/plugins/inspect/plugin-wavpack.xml: And add docs for the chebyshev filters. While doing that also run make update in docs/plugins.
Diffstat (limited to 'gst/audiofx/audiofx.c')
-rw-r--r--gst/audiofx/audiofx.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gst/audiofx/audiofx.c b/gst/audiofx/audiofx.c
index e6d84d24..2c198f32 100644
--- a/gst/audiofx/audiofx.c
+++ b/gst/audiofx/audiofx.c
@@ -29,6 +29,8 @@
#include "audioinvert.h"
#include "audioamplify.h"
#include "audiodynamic.h"
+#include "audiochebyshevfreqlimit.h"
+#include "audiochebyshevfreqband.h"
/* entry point to initialize the plug-in
* initialize the plug-in itself
@@ -48,7 +50,11 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "audioamplify", GST_RANK_NONE,
GST_TYPE_AUDIO_AMPLIFY) &&
gst_element_register (plugin, "audiodynamic", GST_RANK_NONE,
- GST_TYPE_AUDIO_DYNAMIC));
+ GST_TYPE_AUDIO_DYNAMIC) &&
+ gst_element_register (plugin, "audiochebyshevfreqlimit", GST_RANK_NONE,
+ GST_TYPE_AUDIO_CHEBYSHEV_FREQ_LIMIT) &&
+ gst_element_register (plugin, "audiochebyshevfreqband", GST_RANK_NONE,
+ GST_TYPE_AUDIO_CHEBYSHEV_FREQ_BAND));
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,