summaryrefslogblamecommitdiffstats
path: root/src/sound.h
blob: 9e0c0668c060ced423aabeff6793eb2d3146b3e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 */