Digital volume control MAX5440 makes this circuit does not require any special programming knowledge to work, because it works on the principle of "plug and play".
It is interesting to use the encoder to adjust the level (up / down) and a button to select the mode (the volume / balance / mute). There are 6 pieces of LED is quite informative to show the volume and balance. Above is a Digital volume control MAX5440 schematic diagram that is included in the documentation.
Since task was to explore the possibilities of the controller, rather than building a complete device, and it made no sense to complicate the board (eg, voltage regulators or display elements).
The Digital volume control work smootly, a uniform change in the volume and balance during rotation of the encoder, the correct ignition of LEDs according to the established level. Properly perfected pressing buttons «Mute» and «Mode». It is difficult to find fault with the good work. Control the sound without clicks.