Bladeren bron

Add comment about editing AUDIO_BLOCK_SAMPLES

main
PaulStoffregen 8 jaren geleden
bovenliggende
commit
9c88ebefaf
1 gewijzigde bestanden met toevoegingen van 9 en 0 verwijderingen
  1. +9
    -0
      teensy3/AudioStream.h

+ 9
- 0
teensy3/AudioStream.h Bestand weergeven

@@ -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…
Annuleren
Opslaan