summaryrefslogtreecommitdiff
path: root/src/output/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-04-10 15:42:29 +0200
committerMax Kellermann <max@musicpd.org>2018-04-10 15:42:29 +0200
commit9c617607136fa88f11b1d030471ecaaa6a052c4c (patch)
treef66335cd82db056be445c96f2dcac3924d6a2d8c /src/output/plugins
parent5f86c6d40417e97d153e7c458c00a5d7291cdc98 (diff)
output/alsa: remove obsolete comment, was moved to Alsa::PeriodBuffer::Allocate()
Diffstat (limited to 'src/output/plugins')
-rw-r--r--src/output/plugins/AlsaOutputPlugin.cxx3
1 files changed, 0 insertions, 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<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);
active = false;