From fb174b37d28dabff5d9b500fd9bbaa6f69e9ddc9 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sat, 1 Sep 2018 18:12:43 +0200 Subject: [PATCH] Changes for LineOut volume. --- MicroDexed.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index 9a25c08..40a2059 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -150,12 +150,13 @@ void setup() AudioMemory(AUDIO_MEM); #ifdef TEENSY_AUDIO_BOARD sgtl5000_1.enable(); - //sgtl5000_1.dacVolumeRamp(); - sgtl5000_1.dacVolumeRampLinear(); + sgtl5000_1.dacVolumeRamp(); + //sgtl5000_1.dacVolumeRampLinear(); sgtl5000_1.unmuteHeadphone(); sgtl5000_1.unmuteLineout(); sgtl5000_1.autoVolumeDisable(); // turn off AGC sgtl5000_1.volume(1.0, 1.0); + sgtl5000_1.lineOutLevel(31); #endif set_volume(vol, vol_left, vol_right);