VS1053b ADMonitor and EQ					20110609 v1.1
========================

The ADMonitor package implements loopback of selected ADC
configuration to DAC with volume, bass and treble controls.

AICTRL0, 1, 2, and 3 are used like in the normal IMA ADPCM
encoding mode. Samplerates 8000Hz, 12000Hz, 16000Hz, 24000Hz,
and 48000Hz are possible, so generally you would select 48000Hz.
XTALI must be 12.288MHz for the exact rates.

CLOCKF should be set to for example 0x6000 (for 3.0x clock).

Make the normal setup (hardware or software reset and wait for DREQ), then
- load the plugin, then set AICTRL0..3
  + AICTRL0 for samplerate, must be exactly one of the supported rates,
  + AICTRL1 = 0 for AGC, other values for fixed gain
  + AICTRL2 to set AGC maximum amplification,
  + AICTRL3 = 2 for left channel mono, 3 for right channel mono,
    0 or 1 for stereo modes, or (special to this plugin)
    use 256 or 257 to convert stereo inputs into mono.
- clear the SM_LINE bit from the MODE register if you want to select MIC,
- then write 0x0220 to AIADDR to start the code.

The code does not set the ADPCM bit in the mode register, and does
not provide any data transfer. SDI data is not read.

You can change SCI_VOL, SCI_BASS, AGC settings, and ADC modes during
the running of the plugin. To change the samplerate you need to restart.

This version should be compatible with the spectrum analyzer.
Load and start the ADMonEQ first, then the spectrum analyzer.


CHANGES
-------
20110609: Did not work with spectrum analyzer (application hook version 2),
	  because write to AIADDR to start the analyzer messed up the
	  sample rate. Fixed (used AudioSet() instead of SetHardware()).
