Audio: fix unlock
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
194fe8a451
commit
9a059d6f8c
1 changed files with 1 additions and 0 deletions
|
|
@ -253,6 +253,7 @@ fn writeFn(audio_opaque: ?*anyopaque, output: []u8) void {
|
||||||
@memset(output, 0);
|
@memset(output, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
audio.state().running_mu.unlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (read_slice.len > output.len) {
|
if (read_slice.len > output.len) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue