From 5e8e038811d569c7463fd336781627cb806be500 Mon Sep 17 00:00:00 2001 From: Yue Wang Date: Fri, 13 Jul 2018 15:31:48 -0700 Subject: [PATCH] Enclose pcm_export into the ENABLE_DSD guard. --- src/output/plugins/OSXOutputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index 94683478e..4133127a7 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -838,9 +838,9 @@ OSXOutput::Open(AudioFormat &audio_format) throw FormatRuntimeError("Unable to set frame size: %s", errormsg); } - pcm_export->Open(audio_format.format, audio_format.channels, params); #ifdef ENABLE_DSD + pcm_export->Open(audio_format.format, audio_format.channels, params); size_t ring_buffer_size = std::max(buffer_frame_size, MPD_OSX_BUFFER_TIME_MS * pcm_export->GetFrameSize(audio_format) * asbd.mSampleRate / 1000); #else