Fix a copy and paste from diff bug.

This commit is contained in:
Yue Wang 2018-07-13 15:53:51 -07:00 committed by GitHub
parent 5e8e038811
commit 9e0fa8e9ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<size_t>(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<uint8_t>(ring_buffer_size);