blob: 384c77599fc3a41cce09ad44507bd58f0e4bcdf4 (
plain) (
tree)
|
|
#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 */
|