From 6e26fb5e5fb5d910383b2cdc66b705ac4fddc2b0 Mon Sep 17 00:00:00 2001 From: Kristian Glass Date: Thu, 17 Jul 2025 22:31:41 +0100 Subject: [PATCH] Partial fix of the gen_tone tool This fixes the gen_tone main() enough to build gen_tone.o, though I still get linker issues attempting to build the final binary. --- src/gen_tone.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gen_tone.c b/src/gen_tone.c index 400c2920..87caf5c7 100644 --- a/src/gen_tone.c +++ b/src/gen_tone.c @@ -709,15 +709,15 @@ int main () strlcpy (my_audio_config.adev[0].adevice_out, DEFAULT_ADEVICE, sizeof(my_audio_config.adev[0].adevice_out)); audio_open (&my_audio_config); - gen_tone_init (&my_audio_config, 100); + gen_tone_init (&my_audio_config, 100, 0); for (r=0; r<2; r++) { - for (n=0; n