diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2009-01-13 08:24:25 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2009-01-13 08:24:25 +0000 |
commit | 4b227159cba3b5953d85dd5358cefece06e5d35f (patch) | |
tree | 6630d729b65c51975b5bba695d914cd49b5c14f9 /gst/audiofx/audiochebband.h | |
parent | 0016658ace7e5b84095b44ad7bae27218334143b (diff) |
gst/audiofx/: Use a custom mutex for protecting the instance fields instead of the GstObject lock. Using the latter c...
Original commit message from CVS:
* gst/audiofx/audiochebband.c: (gst_audio_cheb_band_class_init),
(gst_audio_cheb_band_init), (gst_audio_cheb_band_finalize),
(gst_audio_cheb_band_set_property):
* gst/audiofx/audiochebband.h:
* gst/audiofx/audiocheblimit.c: (gst_audio_cheb_limit_class_init),
(gst_audio_cheb_limit_init), (gst_audio_cheb_limit_finalize),
(gst_audio_cheb_limit_set_property):
* gst/audiofx/audiocheblimit.h:
* gst/audiofx/audiowsincband.c: (gst_audio_wsincband_class_init),
(gst_audio_wsincband_init), (gst_audio_wsincband_finalize),
(gst_audio_wsincband_set_property):
* gst/audiofx/audiowsincband.h:
* gst/audiofx/audiowsinclimit.c: (gst_audio_wsinclimit_class_init),
(gst_audio_wsinclimit_init), (gst_audio_wsinclimit_finalize),
(gst_audio_wsinclimit_set_property):
* gst/audiofx/audiowsinclimit.h:
Use a custom mutex for protecting the instance fields instead of
the GstObject lock. Using the latter can lead to deadlocks, especially
with the FIR filters when updating the latency.
Diffstat (limited to 'gst/audiofx/audiochebband.h')
-rw-r--r-- | gst/audiofx/audiochebband.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/audiofx/audiochebband.h b/gst/audiofx/audiochebband.h index fae1a0c6..32610325 100644 --- a/gst/audiofx/audiochebband.h +++ b/gst/audiofx/audiochebband.h @@ -48,6 +48,9 @@ struct _GstAudioChebBand gfloat lower_frequency; gfloat upper_frequency; gfloat ripple; + + /* < private > */ + GMutex *lock; }; struct _GstAudioChebBandClass |