parent
bcab29d53a
commit
7774c3369e
|
@ -23,7 +23,7 @@ TwoFilters::FilterPCM(std::span<const std::byte> src)
|
||||||
std::span<const std::byte>
|
std::span<const std::byte>
|
||||||
TwoFilters::Flush()
|
TwoFilters::Flush()
|
||||||
{
|
{
|
||||||
if (auto result = first->Flush(); result.data() != nullptr)
|
if (auto result = first->Flush(); !result.empty())
|
||||||
/* Flush() output from the first Filter must be
|
/* Flush() output from the first Filter must be
|
||||||
filtered by the second Filter */
|
filtered by the second Filter */
|
||||||
return second->FilterPCM(result);
|
return second->FilterPCM(result);
|
||||||
|
|
Loading…
Reference in New Issue