about summary refs log tree commit diff
path: root/examples/play.zig
diff options
context:
space:
mode:
Diffstat (limited to 'examples/play.zig')
-rw-r--r--examples/play.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/play.zig b/examples/play.zig
index fab8f3f..60256c6 100644
--- a/examples/play.zig
+++ b/examples/play.zig
@@ -23,7 +23,6 @@ const print = std.debug.print;
 const sleep = std.time.sleep;
 
 const zeal = @import("zeal");
-const alc = zeal.alc;
 const Device = zeal.Device;
 const Context = zeal.Context;
 const Audio = zeal.Audio;
@@ -33,7 +32,7 @@ const Source = zeal.Source;
 pub fn main() !void {
     const device = try Device.init(null);
     defer device.deinit() catch unreachable;
-    const context = try Context.init(device, &.{ 0 });
+    const context = try Context.init(device, .{});
     defer context.deinit() catch unreachable;
 
     var argv = try args(allocator);