Enclose pcm_export into the ENABLE_DSD guard.
This commit is contained in:
parent
e61a804b80
commit
5e8e038811
@ -838,9 +838,9 @@ OSXOutput::Open(AudioFormat &audio_format)
|
|||||||
throw FormatRuntimeError("Unable to set frame size: %s",
|
throw FormatRuntimeError("Unable to set frame size: %s",
|
||||||
errormsg);
|
errormsg);
|
||||||
}
|
}
|
||||||
pcm_export->Open(audio_format.format, audio_format.channels, params);
|
|
||||||
|
|
||||||
#ifdef ENABLE_DSD
|
#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,
|
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);
|
MPD_OSX_BUFFER_TIME_MS * pcm_export->GetFrameSize(audio_format) * asbd.mSampleRate / 1000);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user