diff --git a/src/output/Source.cxx b/src/output/Source.cxx index ed9bd6ff2..8ab97a7ef 100644 --- a/src/output/Source.cxx +++ b/src/output/Source.cxx @@ -240,7 +240,7 @@ AudioOutputSource::ConsumeData(size_t nbytes) noexcept std::span AudioOutputSource::Flush() { - return filter - ? filter->Flush() - : std::span{}; + assert(filter); + + return filter->Flush(); }