GNOME Bugzilla – Bug 606322
audiofirfilter: Add support for changing kernel size without draining the sample history
Last modified: 2018-11-03 14:40:31 UTC
It would be nice if draining the history could be prevented when changing the kernel size too. Currently it's only supported if the kernel size stays the same. Following are some patches that partially implement this and some notes on what still needs to be done.
Created attachment 150979 [details] [review] audiofxbasefirfilter: property for not draining on changes Adds a new property for not draining the buffers when the kernel changes
Created attachment 150980 [details] [review] WIP audiofxbasefirfilter
What still needs to be done: - When the kernel size decreases, process the oldest samples from the history and push output downstream - Copy the *last* samples of the history instead of the first in FFT mode - Convert the buffer when switching from FFT mode to non-FFT mode
After almost five years, this should probably be merged or closed :)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/19.