Hello Mariana,
I have another question on the audio setup for you. I need to adjust the sample rates on my application. The hardware description of the codec chip indicates that it is capable of 96Ksps. Can I just modify the Sample Clock rate values in the Audio_ChannelConfig structs which were defaulted at 44100 in the sample app to change sample rates, or do other driver settings elsewhere have to be changed if I start to change sample clock rates as shown here:
Thanks!
Richard
Audio_ChannelConfig audioChanParamsIN =
{
/* channel 0 (RX) */
(Ptr)&mcasp_chanparam[0],
{ /* codec [0] */
{
//44100, /* sampling rate for codec */
48000,
30, /* gain (%) for codec */
0x00,
0x00
}
}
};
Audio_ChannelConfig audioChanParamsOUT =
{
/* channel 1 (TX) */
(Ptr)&mcasp_chanparam[1],
{
/* codec [1] */
{
//44100, /* sampling rate */
48000,
70, /* gain (%) for codec */
0x00,
0x00
}
}
};