output/osx: fix CI failure
This commit is contained in:
parent
52eff41379
commit
eb589b0a46
@ -773,7 +773,7 @@ OSXOutput::Open(AudioFormat &audio_format)
|
|||||||
std::size_t
|
std::size_t
|
||||||
OSXOutput::Play(std::span<const std::byte> input)
|
OSXOutput::Play(std::span<const std::byte> input)
|
||||||
{
|
{
|
||||||
assert(size > 0);
|
assert(!input.empty());
|
||||||
|
|
||||||
pause = false;
|
pause = false;
|
||||||
|
|
||||||
@ -781,7 +781,7 @@ OSXOutput::Play(std::span<const std::byte> input)
|
|||||||
if (dop_enabled) {
|
if (dop_enabled) {
|
||||||
input = pcm_export->Export(input);
|
input = pcm_export->Export(input);
|
||||||
if (input.empty())
|
if (input.empty())
|
||||||
return size;
|
return input.size();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user