Browse Source

Add comment about known incompatibility with smaller audio block size

teensy4-core
PaulStoffregen 4 years ago
parent
commit
fdb45e3fe3
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      teensy4/AudioStream.h

+ 4
- 1
teensy4/AudioStream.h View File

// should be used, since some synthesis objects generate 16 samples per loop. // 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. // Some parts of the audio library may have hard-coded dependency on 128 samples.
// Please report these on the forum with reproducible test cases.
// Please report these on the forum with reproducible test cases. The following
// audio classes are known to have problems with smaller block sizes:
// AudioInputUSB, AudioOutputUSB, AudioPlaySdWav, AudioAnalyzeFFT256,
// AudioAnalyzeFFT1024


#ifndef AUDIO_BLOCK_SAMPLES #ifndef AUDIO_BLOCK_SAMPLES
#define AUDIO_BLOCK_SAMPLES 128 #define AUDIO_BLOCK_SAMPLES 128

Loading…
Cancel
Save