summaryrefslogtreecommitdiffstats
path: root/src/sound.h
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2025-02-22 02:36:27 +0200
committergrm <grm@eyesin.space>2025-02-22 02:36:27 +0200
commit500b9a07b93d6cd3e771edc5698e06d163da60f1 (patch)
tree08aace91a7ec7600b254b986bf5458362dab33f3 /src/sound.h
parent04b3dbe0a339c42d7b2085bcd6149e9277d699a1 (diff)
downloadsynth-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.h5
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);