# Where would be the best spot to put a logarithmic volume control on this TPA3122 audio amp?

I'd like to add a volume control to the following circuit (a 2x15W Class-D Stereo Power Amp Kit). The schematic below is an image clipped from a PDF I found describing it.

This'll be being driven almost exclusively from my PC soundcard in case that changes anything. (I'd rather not exclusively use software volume control; I prefer the preciseness of an analog potentiometer :P)

Using a rheostat circuit on the audio input vaguely comes to mind, and that might turn out to be all I need, but I thought I'd ask anyway since I'm not certain (I know precisely zero about electronics).

I'm not familiar with the TDA3122 but I was thinking maybe fiddling with the GAINA0/GAINA1 lines might produce the effect I'm looking for...? What might I alter here?