blob: 384c77599fc3a41cce09ad44507bd58f0e4bcdf4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#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, const int device_id);
char *get_soundcards();
int get_soundcard_id(const char * name);
void destroy_sound(synth_t * synth);
#endif /* SOUND_H */
|