Small fix for TeensyVariablePlayback (unuesd var removed).

dev
Holger Wirtz 2 years ago
parent b688590915
commit 5eec0bb5b8
  1. 1
      UI.hpp
  2. 4
      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 (midi_learn_mode >= DRUMS_MIDI_NOTE_MIN)
configuration.drums.midinote[active_sample] = midi_learn_mode;

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

Loading…
Cancel
Save