When connecting about any input source to the input of the AIC3254 (dynamic mic, music source, etc.), if the ADC gain is increased, at some point the device will clip. That is expected. What isn't expected is that the ADC doesn't appear to actually clip by maxing out the digital value and creating a waveform with a flattened top as you would expect. Rather, the generated value actually overflows into the sign bit causing positive digital values that actually flip to very negative values. This causes the waveform to suddenly flip negative, creating a very ugly clipping sound.
Using AGC isn't really an option for me since I need manual gain control, but I would like to have some sort of DRC capability like the DAC has. I considered adding a DRC to the miniDSP, but that's post digitization, so doesn't solve the problem.
Is there a way to prevent positive clipping from hitting the maximum without giving up manual gain control? I'm ok with a flattened top on the curve, but the sign reversal is too alarming for customers.
Thanks,