sysaudio: add missing bool param to soundio call (#492)
This commit is contained in:
parent
d9bd4d7d79
commit
5dfd677a37
3 changed files with 7 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ pub fn start(self: OutStream) Error!void {
|
|||
try intToError(c.soundio_outstream_start(self.handle));
|
||||
}
|
||||
|
||||
pub fn pause(self: OutStream) Error!void {
|
||||
try intToError(c.soundio_outstream_pause(self.handle));
|
||||
pub fn pause(self: OutStream, pause_state: bool) Error!void {
|
||||
try intToError(c.soundio_outstream_pause(self.handle, pause_state));
|
||||
}
|
||||
|
||||
pub fn beginWrite(self: OutStream, areas: [*]?[*]c.SoundIoChannelArea, frame_count: *i32) Error!void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue