From d84cd500bbb436fbf9614e3712d2d6b06422279f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kr=C3=B6ner?= Date: Wed, 7 Mar 2018 22:40:19 +0100 Subject: [PATCH] Fix build with DSD disabled --- src/output/plugins/OSXOutputPlugin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index a8f7daf20..7137db842 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -715,13 +715,13 @@ void OSXOutput::Open(AudioFormat &audio_format) { char errormsg[1024]; -#ifdef ENABLE_DSD - bool dop = dop_setting; -#endif Float64 sample_rate = initial_sample_rate; PcmExport::Params params; params.alsa_channel_order = true; +#ifdef ENABLE_DSD + bool dop = dop_setting; params.dop = false; +#endif memset(&asbd, 0, sizeof(asbd)); asbd.mFormatID = kAudioFormatLinearPCM;