diff options
author | makefunstuff <[email protected]> | 2024-07-05 17:24:00 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-07-05 17:24:00 +0200 |
commit | ed3734032e704b26a4dea9304f72e9fac2350e52 (patch) | |
tree | 72d658ee572028c561050fc99bf0e3288f8cdfb2 /src | |
parent | 3aa30a037b4e636d4e314f4f8b9a73fd6584ba56 (diff) | |
download | tinkerbunk-ed3734032e704b26a4dea9304f72e9fac2350e52.tar.gz |
playing but not everything
Diffstat (limited to 'src')
-rw-r--r-- | src/brr.zig | 2 | ||||
-rw-r--r-- | src/main.zig | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/brr.zig b/src/brr.zig index 9c57076..bbacdd7 100644 --- a/src/brr.zig +++ b/src/brr.zig @@ -11,8 +11,6 @@ pub fn brr(allocator: std.mem.Allocator, file: [*:0]const u8) !void { return; }; - std.log.debug("file {s}", .{file}); - if (c.mpg123_open(handle, file) != c.MPG123_OK) { std.log.warn("Failed to open the file: {s}\n", .{file}); return; diff --git a/src/main.zig b/src/main.zig index 590f3b3..15df5c9 100644 --- a/src/main.zig +++ b/src/main.zig @@ -51,7 +51,7 @@ pub fn main() !void { if (args.len == 3) { if (std.mem.eql(u8, args[1], "brr")) { - try brr.brr(std.heap.c_allocator, args[2]); + try brr.brr(allocator, args[2]); return; } } |