Dear Sirs,
May I know,
1. if the volume is 50% and set volume to 0 by I2C, how soon will be done for it?
2. PCM5122 did not support fade in/out function, right?
3. customer wants to add some code for volume fade in/out control by software as below, does the code is ok or not?
==============================
void MyMute(int vol)
{
while (vol > 0)
{
vol -= 10;
if (vol < 0) vol = 0;
PCM5122_SetVol(vol); // Use I2C to set PCM5122 volume
usleep(5000); // delay 5ms
}
}
==============================