const std = @import("std"); pub const IAdapter = struct { getOutputCount: *const fn (ptr: *anyopaque) usize, getOutputName: *const fn (ptr: *anyopaque, index: usize) []u8, setOutput: *const fn (output: usize) void, }; pub const IUser = struct { setFormat: *const fn (ptr: *anyopaque, channels: u32, sample_rate: u32) void, render: *const fn (ptr: *anyopaque, buf: []f32) void, };