adding mic headers, switching to runtime dynamic libloading

This commit is contained in:
2026-07-01 20:48:52 +02:00
parent 9d99ef63bf
commit f46bd2a058
8 changed files with 2695 additions and 251 deletions
+3
View File
@@ -2,6 +2,9 @@ const std = @import("std");
const mic = @import("miclib");
pub fn main() !void {
try mic.load();
defer mic.unload();
var devices = mic.DeviceList.init() catch |err| {
std.debug.print("mic_get_devices failed: {s}\n", .{@errorName(err)});
printLastMicError();