diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-01-23 18:16:09 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-01-23 18:16:09 +0000 |
commit | 447ae144c2e9c7ccda835851728e7475df7a2f58 (patch) | |
tree | ae9f2fbdda96cd3629a0291d6c1a085c993041fd /docs | |
parent | 60054f479a0c872a7178df0003874f7235586904 (diff) | |
download | gstreamer-plugins-good-447ae144c2e9c7ccda835851728e7475df7a2f58.tar.gz |
gst/audiofx/: Add new audiofx element "audioinvert". This element swaps the upper and lower half of samples and can b...
Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioinvert.c: (gst_audio_invert_base_init),
(gst_audio_invert_class_init), (gst_audio_invert_init),
(gst_audio_invert_set_property), (gst_audio_invert_get_property),
(gst_audio_invert_set_caps), (gst_audio_invert_transform_int),
(gst_audio_invert_transform_float),
(gst_audio_invert_transform_ip):
* gst/audiofx/audioinvert.h:
Add new audiofx element "audioinvert". This element swaps the upper
and lower half of samples and can be used for example for a
wide-stereo effect. Fixes #396057
* 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-audiofx.xml:
Add docs for the audioinvert element and add them to the build system.
* tests/check/Makefile.am:
* tests/check/elements/audioinvert.c: (setup_invert),
(cleanup_invert), (GST_START_TEST), (invert_suite), (main):
Add unit test suite for the audioinvert element.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/plugins/Makefile.am | 1 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins-docs.sgml | 1 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins-sections.txt | 10 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins.args | 10 | ||||
-rw-r--r-- | docs/plugins/inspect/plugin-audiofx.xml | 7 |
5 files changed, 29 insertions, 0 deletions
diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index 31f3721c1..e7746e308 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -76,6 +76,7 @@ IGNORE_CFILES = EXTRA_HFILES = \ $(top_srcdir)/gst/apetag/gstapedemux.h \ $(top_srcdir)/gst/audiofx/audiopanorama.h \ + $(top_srcdir)/gst/audiofx/audioinvert.h \ $(top_srcdir)/gst/autodetect/gstautoaudiosink.h \ $(top_srcdir)/gst/autodetect/gstautovideosink.h \ $(top_srcdir)/gst/avi/gstavidemux.h \ diff --git a/docs/plugins/gst-plugins-good-plugins-docs.sgml b/docs/plugins/gst-plugins-good-plugins-docs.sgml index f8f9d0eed..5f7af7315 100644 --- a/docs/plugins/gst-plugins-good-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-good-plugins-docs.sgml @@ -15,6 +15,7 @@ <xi:include href="xml/element-apedemux.xml" /> <xi:include href="xml/element-apev2mux.xml" /> <xi:include href="xml/element-audiopanorama.xml" /> + <xi:include href="xml/element-audioinvert.xml" /> <xi:include href="xml/element-autoaudiosink.xml" /> <xi:include href="xml/element-autovideosink.xml" /> <xi:include href="xml/element-avidemux.xml" /> diff --git a/docs/plugins/gst-plugins-good-plugins-sections.txt b/docs/plugins/gst-plugins-good-plugins-sections.txt index e29b25dfd..9da8dacf7 100644 --- a/docs/plugins/gst-plugins-good-plugins-sections.txt +++ b/docs/plugins/gst-plugins-good-plugins-sections.txt @@ -38,6 +38,16 @@ GST_AUDIO_PANORAMA_CLASS </SECTION> <SECTION> +<FILE>element-audioinvert</FILE> +GstAudioInvert +<TITLE>audioinvert</TITLE> +<SUBSECTION Standard> +GstAudioInvertClass +GST_AUDIO_INVERT +GST_AUDIO_INVERT_CLASS +</SECTION> + +<SECTION> <FILE>element-autoaudiosink</FILE> GstAutoAudioSink <TITLE>autoaudiosink</TITLE> diff --git a/docs/plugins/gst-plugins-good-plugins.args b/docs/plugins/gst-plugins-good-plugins.args index 02494ebc7..19bc7f5da 100644 --- a/docs/plugins/gst-plugins-good-plugins.args +++ b/docs/plugins/gst-plugins-good-plugins.args @@ -16638,3 +16638,13 @@ <DEFAULT>Psychoacoustic Panning (default)</DEFAULT> </ARG> +<ARG> +<NAME>GstAudioInvert::degree</NAME> +<TYPE>gfloat</TYPE> +<RANGE>[0,1]</RANGE> +<FLAGS>rw</FLAGS> +<NICK>Degree</NICK> +<BLURB>Degree of inversion.</BLURB> +<DEFAULT>0</DEFAULT> +</ARG> + diff --git a/docs/plugins/inspect/plugin-audiofx.xml b/docs/plugins/inspect/plugin-audiofx.xml index 2ad709e90..54b4926c6 100644 --- a/docs/plugins/inspect/plugin-audiofx.xml +++ b/docs/plugins/inspect/plugin-audiofx.xml @@ -10,6 +10,13 @@ <origin>http://gstreamer.net/</origin> <elements> <element> + <name>audioinvert</name> + <longname>AudioInvert</longname> + <class>Filter/Effect/Audio</class> + <description>Swaps upper and lower half of audio samples</description> + <author>Sebastian Dröge <slomo@circular-chaos.org></author> + </element> + <element> <name>audiopanorama</name> <longname>AudioPanorama</longname> <class>Filter/Effect/Audio</class> |