output/alsa: remove obsolete comment, was moved to Alsa::PeriodBuffer::Allocate()

This commit is contained in:
Max Kellermann 2018-04-10 15:42:29 +02:00
parent 5f86c6d404
commit 9c61760713
1 changed files with 0 additions and 3 deletions

View File

@ -658,9 +658,6 @@ AlsaOutput::Open(AudioFormat &audio_format)
size_t period_size = period_frames * out_frame_size; size_t period_size = period_frames * out_frame_size;
ring_buffer = new boost::lockfree::spsc_queue<uint8_t>(period_size * 4); ring_buffer = new boost::lockfree::spsc_queue<uint8_t>(period_size * 4);
/* reserve space for one more (partial) frame, to be able to
fill the buffer with silence, after moving an unfinished
frame to the end */
period_buffer.Allocate(period_frames, out_frame_size); period_buffer.Allocate(period_frames, out_frame_size);
active = false; active = false;