Hello,
Thank you in advance for your help.
I noticed in the sai_edma_transfer example, that in the sai_edma_transfer.c file, the audio codec seems to be configured twice. Once, the parameters of the audio are given by DEMO_AUDIO_BIT_WIDTH, DEMO_AUDIO_SAMPLE_RATE, etc. And additionally, a struct da7212Config, also takes the audio sample rate and bit width.
Is anyone able to explain the differences between the two repeated sets of parameters to me?
Thank you for your help,
Joseph