output/osx: fix CI failure

This commit is contained in:
Max Kellermann 2022-07-12 13:37:45 +02:00
parent 52eff41379
commit eb589b0a46
1 changed files with 2 additions and 2 deletions

View File

@ -773,7 +773,7 @@ OSXOutput::Open(AudioFormat &audio_format)
std::size_t
OSXOutput::Play(std::span<const std::byte> input)
{
assert(size > 0);
assert(!input.empty());
pause = false;
@ -781,7 +781,7 @@ OSXOutput::Play(std::span<const std::byte> input)
if (dop_enabled) {
input = pcm_export->Export(input);
if (input.empty())
return size;
return input.size();
}
#endif