Audio: fix unlock

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-05-13 07:57:38 +02:00
parent 194fe8a451
commit 9a059d6f8c

View file

@ -253,6 +253,7 @@ fn writeFn(audio_opaque: ?*anyopaque, output: []u8) void {
@memset(output, 0);
return;
}
audio.state().running_mu.unlock();
}
}
if (read_slice.len > output.len) {