-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sysaudio: runtime alignment error when converting samples on Windows #1152
Comments
comptime {
@compileLog(@sizeOf(i24));
@compileLog(@alignOf(i24));
}
this is just wrong. i don't know how we can force EDIT: here is the issue ziglang/zig#7336 (comment) |
alichraghi
added a commit
to alichraghi/mach
that referenced
this issue
Apr 13, 2024
Workaround for hexops#1152
1 task
@alichraghi I wonder if the i24 was inside a |
Didn't work comptime {
@compileLog(@sizeOf(packed struct { x: i24 }));
@compileLog(@alignOf(packed struct { x: i24 }));
}
///
Compile Log Output:
@as(comptime_int, 4)
@as(comptime_int, 4) |
a temporary workaround is to set the device's default format to 16bit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!, when running the
sine.zig
example on Windows 10 Build 19045, I receive the following outputOf note is that if I ignore this, and run the build in
ReleaseFast
I get the following output (VOLUME WARNING!!!!!)out.mp4
The text was updated successfully, but these errors were encountered: