Small fix for TeensyVariablePlayback (unuesd var removed).

dev
Holger Wirtz 2 years ago
parent b688590915
commit 5eec0bb5b8
  1. 1
      UI.hpp
  2. 2
      third-party/TeensyVariablePlayback/src/playresmp.h

@ -4536,7 +4536,6 @@ void UI_func_drum_midi_note(uint8_t param) {
if (LCDML.FUNC_loop()) // ****** LOOP ********* if (LCDML.FUNC_loop()) // ****** LOOP *********
{ {
if (midi_learn_mode >= DRUMS_MIDI_NOTE_MIN) if (midi_learn_mode >= DRUMS_MIDI_NOTE_MIN)
configuration.drums.midinote[active_sample] = midi_learn_mode; configuration.drums.midinote[active_sample] = midi_learn_mode;

@ -91,7 +91,7 @@ class AudioPlayResmp : public AudioStream
if (_numChannels == -1) if (_numChannels == -1)
return; return;
unsigned int i, n; unsigned int n;
audio_block_t *blocks[_numChannels]; audio_block_t *blocks[_numChannels];
int16_t *data[_numChannels]; int16_t *data[_numChannels];
// only update if we're playing // only update if we're playing

Loading…
Cancel
Save