Unverified Commit 5e8e0388 authored by Yue Wang's avatar Yue Wang Committed by GitHub

Enclose pcm_export into the ENABLE_DSD guard.

parent e61a804b
......@@ -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<size_t>(buffer_frame_size,
MPD_OSX_BUFFER_TIME_MS * pcm_export->GetFrameSize(audio_format) * asbd.mSampleRate / 1000);
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment