It should be possible to do volume control on an I2S output by doing 24/32 bit audio, and multiplying each sample by an integer on the way out. Then the amplifier gain would set the maximum volume, and more reasonable volumes could be set as a number between 0 and 1.
It should be possible to do volume control on an I2S output by doing 24/32 bit audio, and multiplying each sample by an integer on the way out. Then the amplifier gain would set the maximum volume, and more reasonable volumes could be set as a number between 0 and 1.