Hi,Having STM32F723 DISCO with simple play/record example. Need to process sound by 20ms periods, so I've calculated PCM buffer size as :```#define AUDIO_CHANNELS 2#define AUDIO_PCM_BIT_RESOLUTION 16#define AUDIO_SAMPLE_LENGTH_MS 20#de...
They are always using 4 slots - 2 for speaker, 2 for headphone, I think this is for having the same SAI config for OUTPUT_DEVICE_BOTH mode. Next I've found the BSP_AUDIO_IN_OUT_Init() which works at least for 4 slots. Thanks AScha for your help again...
I've hoped that stock example is something that should work and tested at factory with all outputs, sample rates, etc. but seems this is just buggy skeleton code
Found the issue, I've called the :```if (BSP_AUDIO_OUT_Init((spk ? OUTPUT_DEVICE_SPEAKER : OUTPUT_DEVICE_HEADPHONE), AUDIO_DEFAULT_VOLUME, SAMPLE_RATE)) return AUDIO_ERROR_IO;if (BSP_AUDIO_IN_Init(SAMPLE_RATE, AUDIO_PCM_BIT_RESOLUTION, AUDIO_CHANNELS...