nRF Connect SDK API 0.1.0
|
#define SAMPLE_RATE_CONVERTER_STATE_BUFFER_SIZE |
#include <include/sample_rate_converter.h>
Maximum size for the internal state buffers.
The internal state buffer must for each context fulfill the following equations: Interpolation: number of filter taps + block size - 1 Decimation: (number of filter taps / conversion ratio) + block size - 1
The equation for interpolation is used as size as this gives the largest number.