From 9c617607136fa88f11b1d030471ecaaa6a052c4c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Apr 2018 15:42:29 +0200 Subject: [PATCH] output/alsa: remove obsolete comment, was moved to Alsa::PeriodBuffer::Allocate() --- src/output/plugins/AlsaOutputPlugin.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx index 81b9766b4..1538d2aab 100644 --- a/src/output/plugins/AlsaOutputPlugin.cxx +++ b/src/output/plugins/AlsaOutputPlugin.cxx @@ -658,9 +658,6 @@ AlsaOutput::Open(AudioFormat &audio_format) size_t period_size = period_frames * out_frame_size; ring_buffer = new boost::lockfree::spsc_queue(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); active = false;