So you want to avoid clipping whatever volume setting or input you use? That's tough. You could use a compressor/soft limiter for that.
Hi stv , I have a fixed input source , that is the bluetooth ic , after 80 percent volume i hear disortion , at 80 percent the audio quality is super fine, so i just want that 80 percent level to be the highest level of volume, so that the user can't hear disortion at full volume and it's good for speakers too , my input signal is 2.1v , amp (tpa3110d2) gain is set at 26db , amp impedance at 26db is 30kohms please help me to find a proper and simple solution for this..