Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tim-Philipp Müller
gst-plugins-good
Commits
f4802618
Commit
f4802618
authored
Dec 25, 2018
by
Tim-Philipp Müller
🐠
Browse files
audiofx: add stereo element which was moved from -bad to build
Fixes
gstreamer/gst-plugins-bad#457
parent
d0a5e9d8
Pipeline
#13348
failed with stages
in 19 minutes and 54 seconds
Changes
8
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
docs/plugins/Makefile.am
View file @
f4802618
...
...
@@ -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
\
...
...
docs/plugins/gst-plugins-good-plugins.args
View file @
f4802618
...
...
@@ -24938,3 +24938,22 @@
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
<NAME>GstStereo::active</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>active</NICK>
<BLURB>active.</BLURB>
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG>
<NAME>GstStereo::stereo</NAME>
<TYPE>gfloat</TYPE>
<RANGE>[0,1]</RANGE>
<FLAGS>rw</FLAGS>
<NICK>stereo</NICK>
<BLURB>stereo.</BLURB>
<DEFAULT>0.1</DEFAULT>
</ARG>
docs/plugins/gst-plugins-good-plugins.hierarchy
View file @
f4802618
...
...
@@ -118,6 +118,7 @@ GObject
GstIirEqualizer3Bands
GstIirEqualizerNBands
GstSpectrum
GstStereo
GstAudioPanorama
GstBreakMyData
GstCapsSetter
...
...
docs/plugins/inspect/plugin-audiofx.xml
View file @
f4802618
...
...
@@ -282,5 +282,26 @@
</caps>
</pads>
</element>
<element>
<name>
stereo
</name>
<longname>
Stereo effect
</longname>
<class>
Filter/Effect/Audio
</class>
<description>
Muck with the stereo signal to enhance its
'
stereo-ness
'
</description>
<author>
Erik Walthinsen
<
omega@cse.ogi.edu
>
</author>
<pads>
<caps>
<name>
sink
</name>
<direction>
sink
</direction>
<presence>
always
</presence>
<details>
audio/x-raw, format=(string)S16LE, rate=(int)[ 1, 2147483647 ], channels=(int)2
</details>
</caps>
<caps>
<name>
src
</name>
<direction>
source
</direction>
<presence>
always
</presence>
<details>
audio/x-raw, format=(string)S16LE, rate=(int)[ 1, 2147483647 ], channels=(int)2
</details>
</caps>
</pads>
</element>
</elements>
</plugin>
\ No newline at end of file
gst/audiofx/Makefile.am
View file @
f4802618
...
...
@@ -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
gst/audiofx/audiofx.c
View file @
f4802618
...
...
@@ -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
,
...
...
gst/audiofx/gststereo.c
View file @
f4802618
...
...
@@ -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
)
gst/audiofx/meson.build
View file @
f4802618
...
...
@@ -14,7 +14,8 @@ audiofx_sources = [
'audiowsinclimit.c',
'audiofirfilter.c',
'audioecho.c',
'gstscaletempo.c'
'gstscaletempo.c',
'gststereo.c'
]
orcsrc = 'audiopanoramaorc'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment