SGTL5000 peak-peak voltage raised.

Fixed displaying right value for OP enable/disable.
pull/32/head
Holger Wirtz 5 years ago
parent b7d9921d3a
commit bcebb3f29a
  1. 6
      UI.hpp
  2. 23
      config.h

@ -2874,9 +2874,15 @@ void UI_handle_OP(uint8_t param, uint8_t op, uint8_t instance_id)
LCDML.FUNC_goBackToMenu(); LCDML.FUNC_goBackToMenu();
} }
else if (LCDML.BT_checkUp() && state == true) else if (LCDML.BT_checkUp() && state == true)
{
bitClear(configuration.dexed[instance_id].op_enabled, op); bitClear(configuration.dexed[instance_id].op_enabled, op);
state = false;
}
else if (LCDML.BT_checkDown() && state == false) else if (LCDML.BT_checkDown() && state == false)
{
bitSet(configuration.dexed[instance_id].op_enabled, op); bitSet(configuration.dexed[instance_id].op_enabled, op);
state = true;
}
} }
lcd.setCursor(0, 1); lcd.setCursor(0, 1);

@ -99,7 +99,28 @@
#define REDUCE_LOUDNESS 0 #define REDUCE_LOUDNESS 0
//#define REDUCE_LOUDNESS_FACTOR 1.0 //#define REDUCE_LOUDNESS_FACTOR 1.0
#else // IF TEENSY_AUDIO_BOARD #else // IF TEENSY_AUDIO_BOARD
#define SGTL5000_LINEOUT_LEVEL 29 /*
13: 3.16 Volts p-p
14: 2.98 Volts p-p
15: 2.83 Volts p-p
16: 2.67 Volts p-p
17: 2.53 Volts p-p
18: 2.39 Volts p-p
19: 2.26 Volts p-p
20: 2.14 Volts p-p
21: 2.02 Volts p-p
22: 1.91 Volts p-p
23: 1.80 Volts p-p
24: 1.71 Volts p-p
25: 1.62 Volts p-p
26: 1.53 Volts p-p
27: 1.44 Volts p-p
28: 1.37 Volts p-p
29: 1.29 Volts p-p (default)
30: 1.22 Volts p-p
31: 1.16 Volts p-p
*/
#define SGTL5000_LINEOUT_LEVEL 21
#if AUDIO_BLOCK_SAMPLES == 64 #if AUDIO_BLOCK_SAMPLES == 64
#define AUDIO_MEM 512 #define AUDIO_MEM 512
#else #else

Loading…
Cancel
Save