diff options
Diffstat (limited to 'src/audio/synth.h')
| -rw-r--r-- | src/audio/synth.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/synth.h b/src/audio/synth.h index 3a42a61..61ecfd0 100644 --- a/src/audio/synth.h +++ b/src/audio/synth.h @@ -21,10 +21,14 @@ #define MAX_SPECTROGRAMS \ 32 // Current track: 14 unique, 32 provides comfortable headroom +#define SPEC_VERSION_V1 1 +#define SPEC_VERSION_V2_OLA 2 + struct Spectrogram { const float* spectral_data_a; // Front buffer const float* spectral_data_b; // Back buffer (for double-buffering) int num_frames; + int version; // SPEC_VERSION_V1 or SPEC_VERSION_V2_OLA }; void synth_init(); |
