I'm trying to change the sample rate (for both playback & recording, USB and audio codec) from 48kHz to 16kHz in the c55x Connected Audio Framework. I have
in app_usbac_descs.h :
#define REC_SAMPLE_RATE (RATE_16_KHZ) /* audio record sample rate */
#define PLAY_SAMPLE_RATE (RATE_16_KHZ) /* audio playback sample rate */
in psp_i2s.h :
#define SAMPLE_RATE_RX_16kHz
#define SAMPLE_RATE_TX_16kHz
#define SAMPLE_RATE_I2S_16kHz
But I can't get playback to work - the program hangs when trying to play something (the program counter ends up somewhere far away in memory). Recording seems to work though.
Any ideas?
Thanks in advance!