diff --git a/src/dsd_audio.c b/src/dsd_audio.c index 8542c65..03d7ab7 100644 --- a/src/dsd_audio.c +++ b/src/dsd_audio.c @@ -57,7 +57,7 @@ void openPulseOutput(dsd_opts * opts) //reconfigured to open when using edacs or raw analog monitor so we can have a analog audio out that runs at 48k1 and not 8k1 float/short if (opts->frame_provoice == 1 || opts->monitor_input_audio == 1) - opts->pulse_raw_dev_out = pa_simple_new(NULL, "DSD-FME3", PA_STREAM_PLAYBACK, NULL, "Analog", &ss, 0, NULL, NULL); + opts->pulse_raw_dev_out = pa_simple_new(NULL, "DSD-FME3", PA_STREAM_PLAYBACK, NULL, "Analog", &ss, 0, NULL, &err); if (err < 0) { @@ -69,7 +69,7 @@ void openPulseOutput(dsd_opts * opts) pa_channel_map* ss = 0; //NULL and 0 are same in this context if (opts->floating_point == 0) - opts->pulse_digi_dev_out = pa_simple_new(NULL, "DSD-FME", PA_STREAM_PLAYBACK, NULL, opts->output_name, &tt, ss, NULL, NULL); + opts->pulse_digi_dev_out = pa_simple_new(NULL, "DSD-FME", PA_STREAM_PLAYBACK, NULL, opts->output_name, &tt, ss, NULL, &err); if (err < 0) { @@ -79,7 +79,7 @@ void openPulseOutput(dsd_opts * opts) if (opts->floating_point == 1) { - opts->pulse_digi_dev_out = pa_simple_new(NULL, "DSD-FME", PA_STREAM_PLAYBACK, NULL, opts->output_name, &ff, fl, NULL, NULL); + opts->pulse_digi_dev_out = pa_simple_new(NULL, "DSD-FME", PA_STREAM_PLAYBACK, NULL, opts->output_name, &ff, fl, NULL, &err); if (err < 0) { fprintf (stderr, "%s", pa_strerror(err));