-
-
Notifications
You must be signed in to change notification settings - Fork 166
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: rewrite in zig #641
Conversation
6405617
to
4fa8272
Compare
ready for review. CI failure is because system-sdk must be updated and after that piano example i guess |
As for Context depending on itself, that seems real unfortunately. Maybe just a limitation in Zig that needs to be worked around for now. Similar to ziglang/zig#131
I also got the following error when cloning recursively:
Which I fixed by removing the path Seeing as this works for all other targets, if it isn't convenient to test on Linux we could merge this (Or put into a new branch) and I'll fix up these minor issues. |
@kdchambers for now you need to checkout into my SDK PRs i mentioned above. |
removes libsoundio dependency
408e6e5
to
e3752be
Compare
pub fn setVolume(self: *Player, vol: f32) !void { | ||
_ = self; | ||
_ = vol; | ||
@panic("incompatible backend"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is panic desirable behavior here? Seems like this should be a documented no-op instead maybe.
Great work on this. I see this as the future so will merge. I think we regress on a few things:
We'll need to address these in the near future, but for now this is a great step forward. |
Closes #625
blockers: