Limit the delay by a new max-delay property
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 28 Jan 2009 14:57:20 +0000 (15:57 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 28 Jan 2009 15:01:34 +0000 (16:01 +0100)
commit1f32369451bd5ddf7a59defef7900d508ee144da
tree85e33b4b1aa46ba8187011df0310216dfbe95f87
parent4be55825c31020d476740461a8ad347fcae55f3c
Limit the delay by a new max-delay property

Introduce a new max-delay property that can only
be set before going to PLAYING or PAUSED. This
is used to limit the maximum delay and is set
to the current delay by default.

Using this will make sure that we have enough data
in our internal ringbuffer for the echo. With dynamic
reallocation of the ringbuffer as used before silence
could've been used as the echo directly after setting
a new delay.
gst/audiofx/audioecho.c
gst/audiofx/audioecho.h