From 3f0f675fd51c58f25c6df70bedb0d54c74403adc Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Fri, 16 May 2025 23:16:32 -0400 Subject: [PATCH] Pulse Audio: Don't Open Audio Stream for Synthesized Digital Voice when using the -fA Analog Only Output Option; --- src/dsd_audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dsd_audio.c b/src/dsd_audio.c index a62bd3f..3258efb 100644 --- a/src/dsd_audio.c +++ b/src/dsd_audio.c @@ -75,7 +75,7 @@ void openPulseOutput(dsd_opts * opts) pa_channel_map* fl = 0; //NULL and 0 are same in this context pa_channel_map* ss = 0; //NULL and 0 are same in this context - if (opts->floating_point == 0) + if (opts->floating_point == 0 && opts->analog_only == 0) { opts->pulse_digi_dev_out = pa_simple_new(NULL, "DSD-FME", PA_STREAM_PLAYBACK, dev, opts->output_name, &tt, ss, NULL, &err); @@ -89,7 +89,7 @@ void openPulseOutput(dsd_opts * opts) } } - if (opts->floating_point == 1) + if (opts->floating_point == 1 && opts->analog_only == 0) { opts->pulse_digi_dev_out = pa_simple_new(NULL, "DSD-FME", PA_STREAM_PLAYBACK, dev, opts->output_name, &ff, fl, NULL, &err);