Other Parts Discussed in Thread: TAS2559,
Tool/software:
What I would like to do is change the digital gain.
This is what I found in the forum and documentation.
I have found the "Digital Volume Control – TAS2557/TAS2559" document but can't make it match the old code i have.

There is also a excel sheet:
| -6 | 33634105,9 | 201373A | 
| -5 | 37738087,51 | 23FD668 | 
| -4 | 42342830,62 | 28619AF | 
| -3 | 47509437,36 | 2D4EFBD | 
| -2 | 53306465,48 | 32D6461 | 
| -1 | 59810838 | 390A416 | 
| 0 | 67108864 | 4000000 | 
This is our current configuration:
static const CfgRegValue_t volumeHighRegValues[] =
 {
 /* 0 db */
 {0x00, 0x00}, /* Page 0 */
 {0x7f, 0x00}, /* Book 0 */
 {0x00, 0x32}, /* Page 50 */
 {CFG_META_BURST, 5}, /* 5 byte data burst */
 {0x0c, 0x80}, /* Digital gain value */
 {0x00, 0x00}, /* Digital gain value */
 {0x00, 0x00} /* Digital gain value */
 };
static const CfgRegValue_t volumeMediumRegValues[] =
 {
 /* -3 db */
 {0x00, 0x00}, /* Page 0 */
 {0x7f, 0x00}, /* Book 0 */
 {0x00, 0x32}, /* Page 50 */
 {CFG_META_BURST, 5}, /* 5 byte data burst */
 {0x0c, 0x5a}, /* Digital gain value */
 {0x9d, 0xf7}, /* Digital gain value */
 {0xac, 0x00} /* Digital gain value */
 };
static CfgRegValue_t volumeLowRegValues[] =
 {
 /* -6 db */
 {0x00, 0x00}, /* Page 0 */
 {0x7f, 0x00}, /* Book 0 */
 {0x00, 0x32}, /* Page 50 */
 {CFG_META_BURST, 5}, /* 5 byte data burst */
 {0x0c, 0x40}, /* Digital gain value */
 {0x26, 0xe7}, /* Digital gain value */
 {0x3c, 0x00} /* Digital gain value */
 };
static const CfgRegValue_t muteRegValues[] =
 {
 /* -110 db */
 {0x00, 0x00}, /* Page 0 */
 {0x7f, 0x00}, /* Book 0 */
 {0x00, 0x32}, /* Page 50 */
 {CFG_META_BURST, 5}, /* 5 byte data burst */
 {0x0c, 0x00}, /* Digital gain value */
 {0x00, 0x1a}, /* Digital gain value */
 {0x87, 0x00} /* Digital gain value */
 };
But I cannot find out how they match. 
I tried the calculated formula and looked at the excel but no luck. 
The settings work to adjust the volume.
 
				 
		 
        		 
					 
                          