diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am
index 942a0bd4db..5257826d8e 100644
--- a/docs/plugins/Makefile.am
+++ b/docs/plugins/Makefile.am
@@ -99,6 +99,7 @@ EXTRA_HFILES = \
$(top_srcdir)/gst/audiofx/audiowsinclimit.h \
$(top_srcdir)/gst/audiofx/audiofirfilter.h \
$(top_srcdir)/gst/audiofx/gstscaletempo.h \
+ $(top_srcdir)/gst/audiofx/gststereo.h \
$(top_srcdir)/gst/audioparsers/gstaacparse.h \
$(top_srcdir)/gst/audioparsers/gstac3parse.h \
$(top_srcdir)/gst/audioparsers/gstamrparse.h \
diff --git a/docs/plugins/gst-plugins-good-plugins.args b/docs/plugins/gst-plugins-good-plugins.args
index 0e2d0116cc..167122915c 100644
--- a/docs/plugins/gst-plugins-good-plugins.args
+++ b/docs/plugins/gst-plugins-good-plugins.args
@@ -24938,3 +24938,22 @@
0
+
+GstStereo::active
+gboolean
+
+rw
+active
+active.
+TRUE
+
+
+
+GstStereo::stereo
+gfloat
+[0,1]
+rw
+stereo
+stereo.
+0.1
+
diff --git a/docs/plugins/gst-plugins-good-plugins.hierarchy b/docs/plugins/gst-plugins-good-plugins.hierarchy
index 1f947d4517..f6e7d23095 100644
--- a/docs/plugins/gst-plugins-good-plugins.hierarchy
+++ b/docs/plugins/gst-plugins-good-plugins.hierarchy
@@ -118,6 +118,7 @@ GObject
GstIirEqualizer3Bands
GstIirEqualizerNBands
GstSpectrum
+ GstStereo
GstAudioPanorama
GstBreakMyData
GstCapsSetter
diff --git a/docs/plugins/inspect/plugin-audiofx.xml b/docs/plugins/inspect/plugin-audiofx.xml
index 8662390b94..dbbe6c2f85 100644
--- a/docs/plugins/inspect/plugin-audiofx.xml
+++ b/docs/plugins/inspect/plugin-audiofx.xml
@@ -282,5 +282,26 @@
+
+ stereo
+ Stereo effect
+ Filter/Effect/Audio
+ Muck with the stereo signal to enhance its 'stereo-ness'
+ Erik Walthinsen <omega@cse.ogi.edu>
+
+
+ sink
+ sink
+ always
+ audio/x-raw, format=(string)S16LE, rate=(int)[ 1, 2147483647 ], channels=(int)2
+
+
+ src
+ source
+ always
+ audio/x-raw, format=(string)S16LE, rate=(int)[ 1, 2147483647 ], channels=(int)2
+
+
+
\ No newline at end of file
diff --git a/gst/audiofx/Makefile.am b/gst/audiofx/Makefile.am
index 13ee7d978f..793b8dea81 100644
--- a/gst/audiofx/Makefile.am
+++ b/gst/audiofx/Makefile.am
@@ -24,7 +24,8 @@ libgstaudiofx_la_SOURCES = audiofx.c\
audiowsinclimit.c \
audiofirfilter.c \
audioecho.c \
- gstscaletempo.c
+ gstscaletempo.c \
+ gststereo.c
nodist_libgstaudiofx_la_SOURCES = $(ORC_NODIST_SOURCES)
# flags used to compile this plugin
@@ -57,4 +58,5 @@ noinst_HEADERS = audiopanorama.h \
audiofirfilter.h \
audioecho.h \
gstscaletempo.h \
+ gststereo.h \
math_compat.h
diff --git a/gst/audiofx/audiofx.c b/gst/audiofx/audiofx.c
index dbddabef1d..b44a622807 100644
--- a/gst/audiofx/audiofx.c
+++ b/gst/audiofx/audiofx.c
@@ -37,6 +37,7 @@
#include "audiofirfilter.h"
#include "audioecho.h"
#include "gstscaletempo.h"
+#include "gststereo.h"
/* entry point to initialize the plug-in
* initialize the plug-in itself
@@ -71,7 +72,8 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "audioecho", GST_RANK_NONE,
GST_TYPE_AUDIO_ECHO) &&
gst_element_register (plugin, "scaletempo", GST_RANK_NONE,
- GST_TYPE_SCALETEMPO));
+ GST_TYPE_SCALETEMPO) &&
+ gst_element_register (plugin, "stereo", GST_RANK_NONE, GST_TYPE_STEREO));
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
diff --git a/gst/audiofx/gststereo.c b/gst/audiofx/gststereo.c
index 95ca3526aa..1a1ef75c49 100644
--- a/gst/audiofx/gststereo.c
+++ b/gst/audiofx/gststereo.c
@@ -199,16 +199,3 @@ gst_stereo_get_property (GObject * object, guint prop_id, GValue * value,
break;
}
}
-
-static gboolean
-plugin_init (GstPlugin * plugin)
-{
- return gst_element_register (plugin, "stereo", GST_RANK_NONE,
- GST_TYPE_STEREO);
-}
-
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
- GST_VERSION_MINOR,
- stereo,
- "Muck with the stereo signal, enhance its 'stereo-ness'",
- plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
diff --git a/gst/audiofx/meson.build b/gst/audiofx/meson.build
index 45f0536ae4..b3460a660a 100644
--- a/gst/audiofx/meson.build
+++ b/gst/audiofx/meson.build
@@ -14,7 +14,8 @@ audiofx_sources = [
'audiowsinclimit.c',
'audiofirfilter.c',
'audioecho.c',
- 'gstscaletempo.c'
+ 'gstscaletempo.c',
+ 'gststereo.c'
]
orcsrc = 'audiopanoramaorc'