Sampling Rate Converter
This processing stage can modify audio samples in such way that they will look as if they were initially sampled at a different rate. This is useful when an audio device must handle audio streams with different sampling rates. A common use case is a gaming headset, where the main audio stream could be sampled at 48 kHz and the microphone stream at 16 kHz.
When adding this process to a fallback mode, ensure that the sample_count field in fallback mode configuration is set to the expected number of samples for that specific fallback mode. Additionally, when the system is operating outside of fallback mode, the sac_src_cmsis_process_discard() function must be used on the device that is running the downsampling process.
Note
The sampling rate converter supports mono and stereo audio streams with bit depths of 16 or 24 bits. It uses CMSIS DSP Software Library functions for its interpolation and decimation, making it incompatible with non-Arm Cortex-M processor-based devices. Additionally, it can change the audio stream format by adjusting bit depth or packed/unpacked samples, offering flexibility to meet application and hardware requirements.