diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-11 07:51:18 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-11 07:51:18 +0200 |
| commit | 920bdc358831087c46db736120a718ed9a75fbd4 (patch) | |
| tree | e884606865dccd8e756c4271b24f7ecc33f19826 /synth.h | |
| parent | ac6283f92b0579c0e820e13a83715389455d3171 (diff) | |
| download | ttdaw-920bdc358831087c46db736120a718ed9a75fbd4.tar.gz | |
Added boilerplate interface code
Diffstat (limited to 'synth.h')
| -rw-r--r-- | synth.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -2,7 +2,7 @@ | |||
| 2 | #define SYNTH_H_ | 2 | #define SYNTH_H_ |
| 3 | 3 | ||
| 4 | #define AUDIO_FREQ 44100 | 4 | #define AUDIO_FREQ 44100 |
| 5 | #define AUDIO_SAMPLES 64 | 5 | #define AUDIO_SAMPLES 128 |
| 6 | #define AUDIO_CHANNELS 2 | 6 | #define AUDIO_CHANNELS 2 |
| 7 | 7 | ||
| 8 | typedef struct { | 8 | typedef struct { |
| @@ -12,5 +12,5 @@ typedef struct { | |||
| 12 | 12 | ||
| 13 | void *synth(void *arg); | 13 | void *synth(void *arg); |
| 14 | 14 | ||
| 15 | #endif // SYNTH_H_ | 15 | #endif // SYNTH_H_ |
| 16 | 16 | ||
