Fix a copy and paste from diff bug.
This commit is contained in:
parent
5e8e038811
commit
9e0fa8e9ec
@ -845,7 +845,7 @@ OSXOutput::Open(AudioFormat &audio_format)
|
|||||||
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
|
||||||
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 * audio_format.GetFrameSize() * audio_format.sample_rate / 1000);
|
MPD_OSX_BUFFER_TIME_MS * audio_format.GetFrameSize() * audio_format.sample_rate / 1000);
|
||||||
#endif
|
#endif
|
||||||
ring_buffer = new boost::lockfree::spsc_queue<uint8_t>(ring_buffer_size);
|
ring_buffer = new boost::lockfree::spsc_queue<uint8_t>(ring_buffer_size);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user