Commit ccc96e25 authored by Max Kellermann's avatar Max Kellermann

output/{alsa,osx}: remove comment after PcmExport::Export()

Returning an empty buffer is a normal result now (since commit 79839db3), and doesn't deserve such a big comment.
parent 33f5e03e
......@@ -873,12 +873,6 @@ AlsaOutput::Play(const void *chunk, size_t size)
const auto e = pcm_export->Export({chunk, size});
if (e.size == 0)
/* the DoP (DSD over PCM) filter converts two frames
at a time and ignores the last odd frame; if there
was only one frame (e.g. the last frame in the
file), the result is empty; to avoid an endless
loop, bail out here, and pretend the one frame has
been played */
return size;
std::unique_lock<Mutex> lock(mutex);
......
......@@ -887,12 +887,6 @@ OSXOutput::Play(const void *chunk, size_t size)
#ifdef ENABLE_DSD
if (dop_enabled) {
const auto e = pcm_export->Export({chunk, size});
/* the DoP (DSD over PCM) filter converts two frames
at a time and ignores the last odd frame; if there
was only one frame (e.g. the last frame in the
file), the result is empty; to avoid an endless
loop, bail out here, and pretend the one frame has
been played */
if (e.size == 0)
return size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment