sysaudio: add missing bool param to soundio call (#492)

This commit is contained in:
NewbLuck 2022-08-30 00:46:25 -06:00 committed by GitHub
parent d9bd4d7d79
commit 5dfd677a37
Failed to generate hash of commit
3 changed files with 7 additions and 6 deletions

View file

@ -25,8 +25,8 @@ pub fn start(self: InStream) Error!void {
try intToError(c.soundio_instream_start(self.handle));
}
pub fn pause(self: InStream) Error!void {
try intToError(c.soundio_instream_pause(self.handle));
pub fn pause(self: InStream, pause_state: bool) Error!void {
try intToError(c.soundio_instream_pause(self.handle, pause_state));
}
pub fn beginWrite(self: InStream, areas: [*]?[*]c.SoundIoChannelArea, frame_count: *i32) Error!void {