Control of amplifier gain

Check out the PT2258 6-Channel Electronic Volume Controller

from:-

This is I2C controlled and only $0.60