output/Thread: AudioOutput::Play() must not return zero
This commit is contained in:
parent
f4a56f839f
commit
8dfdacf128
|
@ -274,6 +274,7 @@ AudioOutputControl::PlayChunk() noexcept
|
|||
try {
|
||||
const ScopeUnlock unlock(mutex);
|
||||
nbytes = output->Play(data.data, data.size);
|
||||
assert(nbytes > 0);
|
||||
assert(nbytes <= data.size);
|
||||
} catch (...) {
|
||||
FormatError(std::current_exception(),
|
||||
|
|
Loading…
Reference in New Issue