diff options
author | grm <grm@eyesin.space> | 2025-02-22 02:36:27 +0200 |
---|---|---|
committer | grm <grm@eyesin.space> | 2025-02-22 02:36:27 +0200 |
commit | 500b9a07b93d6cd3e771edc5698e06d163da60f1 (patch) | |
tree | 08aace91a7ec7600b254b986bf5458362dab33f3 /src/sound.h | |
parent | 04b3dbe0a339c42d7b2085bcd6149e9277d699a1 (diff) | |
download | synth-project-500b9a07b93d6cd3e771edc5698e06d163da60f1.tar.gz synth-project-500b9a07b93d6cd3e771edc5698e06d163da60f1.tar.bz2 synth-project-500b9a07b93d6cd3e771edc5698e06d163da60f1.zip |
a year of changes (web, better soundcard handling, biquad)
Diffstat (limited to 'src/sound.h')
-rw-r--r-- | src/sound.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sound.h b/src/sound.h index 9e0c066..384c775 100644 --- a/src/sound.h +++ b/src/sound.h @@ -9,7 +9,10 @@ /* #define SAMPLE_RATE (44100) */ /* #define FRAMES_PER_BUFFER (256) */ -void init_sound(synth_t * synth, PaStreamCallback *streamCallback); +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); |