Retrieve audio block size during module Open()
Posted: 25 Feb 2015 14:29
Hi everybody,
In my new HRTF filter module SOFAlizer I need to access the number of samples in one audio block passed to my audio processing function DoWork().
In DoWork() I can simply use p_in_buf->i_nb_samples. But can I also retrieve this number in the Open() function, already?
I need that for efficient initialization of an FFT calculation.
Thanks a lot!
Wolfgang
In my new HRTF filter module SOFAlizer I need to access the number of samples in one audio block passed to my audio processing function DoWork().
In DoWork() I can simply use p_in_buf->i_nb_samples. But can I also retrieve this number in the Open() function, already?
I need that for efficient initialization of an FFT calculation.
Thanks a lot!
Wolfgang