diff options
Diffstat (limited to 'src/sound.h')
-rw-r--r-- | src/sound.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sound.h b/src/sound.h new file mode 100644 index 0000000..9e0c066 --- /dev/null +++ b/src/sound.h @@ -0,0 +1,16 @@ +#ifndef SOUND_H +#define SOUND_H + +#include <portaudio.h> +#include <string.h> + +#include "synth_engine.h" + +/* #define SAMPLE_RATE (44100) */ +/* #define FRAMES_PER_BUFFER (256) */ + +void init_sound(synth_t * synth, PaStreamCallback *streamCallback); + +void destroy_sound(synth_t * synth); + +#endif /* SOUND_H */ |