11 lines
275 B
Zig
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;
|
|
}
|