sysaudio: improve self-hosted compiler support

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-26 18:53:54 -07:00
parent f756af8bcd
commit 45896bd6f5

View file

@ -17,7 +17,7 @@ const Audio = @This();
pub const DataCallback = if (@import("builtin").zig_backend == .stage1) pub const DataCallback = if (@import("builtin").zig_backend == .stage1)
fn (device: Device, frame_count: u32) void fn (device: Device, frame_count: u32) void
else else
fn (device: Device, frame_count: u32) void; *const fn (device: Device, frame_count: u32) void;
pub const Device = struct { pub const Device = struct {
handle: SoundIoStream, handle: SoundIoStream,