From 9e0fa8e9ec76d6a67b7357914ec34cc0053b22d9 Mon Sep 17 00:00:00 2001 From: Yue Wang Date: Fri, 13 Jul 2018 15:53:51 -0700 Subject: [PATCH] Fix a copy and paste from diff bug. --- 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 4133127a7..53d518d2b 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -845,7 +845,7 @@ OSXOutput::Open(AudioFormat &audio_format) MPD_OSX_BUFFER_TIME_MS * pcm_export->GetFrameSize(audio_format) * asbd.mSampleRate / 1000); #else size_t ring_buffer_size = std::max(buffer_frame_size, -- MPD_OSX_BUFFER_TIME_MS * audio_format.GetFrameSize() * audio_format.sample_rate / 1000); + MPD_OSX_BUFFER_TIME_MS * audio_format.GetFrameSize() * audio_format.sample_rate / 1000); #endif ring_buffer = new boost::lockfree::spsc_queue(ring_buffer_size);