|
|
|
@ -161,11 +161,12 @@ void setup() |
|
|
|
|
sgtl5000_1.unmuteLineout(); |
|
|
|
|
sgtl5000_1.autoVolumeDisable(); // turn off AGC
|
|
|
|
|
sgtl5000_1.volume(1.0, 1.0); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifdef TGA_AUDIO_BOARD |
|
|
|
|
#elif defined(TGA_AUDIO_BOARD) |
|
|
|
|
wm8731_1.enable(); |
|
|
|
|
wm8731_1.volume(1.0); |
|
|
|
|
Serial.println(F("TGA board enabled.")); |
|
|
|
|
#else |
|
|
|
|
Serial.println(F("PT8211 enabled.")); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
//set_volume(vol, vol_left, vol_right);
|
|
|
|
|