mach/sysaudio/soundio/ChannelLayout.zig
2022-07-13 01:31:08 -07:00

11 lines
275 B
Zig

const c = @import("c.zig");
const intToError = @import("error.zig").intToError;
const Error = @import("error.zig").Error;
const ChannelLayout = @This();
handle: c.SoundIoChannelLayout,
pub fn channelCount(self: ChannelLayout) i32 {
return self.handle.channel_count;
}