This filter changes the number of samples on single output operation. Based on a patch by Andrey Utkin <andrey.krieger.utkin@gmail.com>.