Quellcode durchsuchen

Add comment about editing AUDIO_BLOCK_SAMPLES

teensy4-core
PaulStoffregen vor 8 Jahren
Ursprung
Commit
9c88ebefaf
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  1. +9
    -0
      teensy3/AudioStream.h

+ 9
- 0
teensy3/AudioStream.h Datei anzeigen

@@ -37,6 +37,15 @@
#include "kinetis.h"
#endif

// AUDIO_BLOCK_SAMPLES determines how many samples the audio library processes
// per update. It may be reduced to achieve lower latency response to events,
// at the expense of higher interrupt and DMA setup overhead.
//
// Less than 32 may not work with some input & output objects. Multiples of 16
// should be used, since some synthesis objects generate 16 samples per loop.
//
// Some parts of the audio library may have hard-coded dependency on 128 samples.
// Please report these on the forum with reproducible test cases.

#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
#define AUDIO_BLOCK_SAMPLES 128

Laden…
Abbrechen
Speichern