now it works, also added alsa out for mono

This commit is contained in:
2025-01-25 20:04:59 +01:00
parent 634ba05d61
commit 1908a4efb0
5 changed files with 57 additions and 8 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ int main() {
pa_simple_free(output_device);
#else
snd_pcm_drain(output_handle);
snd_pcm_free(output_handle);
snd_pcm_close(output_handle);
#endif
return 0;
}