Mercurial > hg > beaglert
diff include/I2c_Codec.h @ 169:94751ad27fd6
Added method to set PGA per each channel
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 28 Dec 2015 03:17:22 +0100 |
parents | 8ff5668bbbad |
children |
line wrap: on
line diff
--- a/include/I2c_Codec.h Sun Oct 18 01:13:40 2015 +0100 +++ b/include/I2c_Codec.h Mon Dec 28 03:17:22 2015 +0100 @@ -44,6 +44,7 @@ unsigned int getPllR(); float getPllK(); float getAudioSamplingRate(); + int setPga(float newGain, unsigned short int channel); int setDACVolume(int halfDbSteps); int writeDACVolumeRegisters(bool mute); int setADCVolume(int halfDbSteps);