diff options
author | grm <grm@eyesin.space> | 2025-02-24 20:02:32 +0200 |
---|---|---|
committer | grm <grm@eyesin.space> | 2025-02-24 20:02:32 +0200 |
commit | d5e9beaf5cc38c0e57bbc555a6e3054f3bf000d8 (patch) | |
tree | 1095f34468e3effb10a336f553e30cda45e017b5 /src/sound.h | |
parent | 35208c579c9e7d0078d786e61f4a323919e2dcdf (diff) | |
download | synth-project-d5e9beaf5cc38c0e57bbc555a6e3054f3bf000d8.tar.gz synth-project-d5e9beaf5cc38c0e57bbc555a6e3054f3bf000d8.tar.bz2 synth-project-d5e9beaf5cc38c0e57bbc555a6e3054f3bf000d8.zip |
Add audiomidisetup screen and improve audio device handling
Diffstat (limited to 'src/sound.h')
-rw-r--r-- | src/sound.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sound.h b/src/sound.h index 29ec561..db8d581 100644 --- a/src/sound.h +++ b/src/sound.h @@ -2,13 +2,12 @@ #define SOUND_H #include <portaudio.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); +void init_sound(synth_t * synth, PaStreamCallback *streamCallback, const char * device_name); char *get_soundcards(); int get_soundcard_id(const char * name); |