After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567874 - [audiofx] Echo/Reverb filter
[audiofx] Echo/Reverb filter
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-15 16:38 UTC by Sebastian Dröge (slomo)
Modified: 2009-01-23 08:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
audiodelay.diff (31.70 KB, patch)
2009-01-15 16:38 UTC, Sebastian Dröge (slomo)
reviewed Details | Review

Description Sebastian Dröge (slomo) 2009-01-15 16:38:06 UTC
Hi,
the attached patch adds audiodelay, and echo/reverb filter.
Comment 1 Sebastian Dröge (slomo) 2009-01-15 16:38:53 UTC
Created attachment 126510 [details] [review]
audiodelay.diff
Comment 2 Tim-Philipp Müller 2009-01-19 10:50:14 UTC
Looks good at first glance, but haven't tried it yet. Random nitpi^Hthoughts when glancing over the code:

 - the name: is 'audiodelay' really the most fitting name
   (rather than, say, 'audioreverb')? Just wondering since
   'delay' could also be interpreted to mean that the timestamps
   etc. were tweaked.

 - might be good to add a 'Since' marker to the
   element gtk-doc blurb

 - maybe move code in set_property:PROP_DELAY to a helper func
   (somehow doesn't seem the right place to set up this stuff
   anyway)?

 - _get_property should take transform lock too, no? (get+set
   may theoretically be done concurrently from different
   threads)

 - bit sad that it's not enough to implement ::process(), but
   that's not really the element's fault I guess :)

I say put it in when/if you think it's ready.
Comment 3 Sebastian Dröge (slomo) 2009-01-19 11:18:58 UTC
Thanks, I've committed it as audioreverb now.

2009-01-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

	* 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/gst-plugins-good-plugins.hierarchy:
	* docs/plugins/inspect/plugin-audiofx.xml:
	* docs/plugins/inspect/plugin-spectrum.xml:
	* gst/audiofx/Makefile.am:
	* gst/audiofx/audiofx.c: (plugin_init):
	* gst/audiofx/audioreverb.c: (gst_audio_reverb_base_init),
	(gst_audio_reverb_class_init), (gst_audio_reverb_init),
	(gst_audio_reverb_finalize), (gst_audio_reverb_set_property),
	(gst_audio_reverb_get_property), (gst_audio_reverb_setup),
	(gst_audio_reverb_stop), (gst_audio_reverb_transform_ip):
	* gst/audiofx/audioreverb.h:
	* tests/check/Makefile.am:
	* tests/check/elements/audioreverb.c: (setup_reverb),
	(cleanup_reverb), (GST_START_TEST), (audioreverb_suite):
	Add an echo/reverb filter to the audiofx plugin, with configurable
	echo delay, intensity and feedback. Fixes bug #567874.