From d5e9beaf5cc38c0e57bbc555a6e3054f3bf000d8 Mon Sep 17 00:00:00 2001 From: grm Date: Mon, 24 Feb 2025 20:02:32 +0200 Subject: Add audiomidisetup screen and improve audio device handling --- src/sound.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/sound.h') 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 - #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); -- cgit v1.2.3