Audio on STM32F746G-DISCO

Hi folks,
I am using the STM32F746G-DSICO board that comes with an audio processor. The board has Audio in/out lines and there is a library for audio functions (stm32746g_discovery_audio). I spent quite a bit of time to get the audio out working, but have not been able to record anything (the board has a mic for audio input). In fact, when I try to use the recommended procedure for initializing the audio-in (see below), even my outputs are muted. The required function is:


But for some reason, it fails to initiate the audio in and disables audio out too.

Any help would be much appreciated.

cc @bcostm