firfilter shall support individual filters per channel
Submitted by tob..@..oo.com
Link to original bug (#750518)
Description
Created attachment 304726
git patch
The audiofirfilter supports so far only applying one filter for all audio channels. For several applications as e.g. digital room correction (DRC) it makes sense to support one filter kernel per channel to allow for channel specific correction due to e.g. unsymmetrical speaker placement.
The attached patches implement the multichannel feature to the FIR filter in a way of a new interface which is fully backward compatible and works even simultaneously with the original interface (one code path for both). This was done for time domain filtering as well as frequency domain.
The unit test got updated to test all interfaces and their interaction too as well as the time and frequency domain application.
I attached the patches and stored everything in my fork on github:
https://github.com/TheBigW/gst-plugins-good.git
in the multi_channel_fir branch
The DRC plugin project for rhythmbox already uses this feature (successful :) ) and depends on it : https://github.com/TheBigW/DRC.git.
Attachment 304726, "git patch":
firfilter-multichannel.zip