@slimsag yep! I've got a PR open on @ikskuh ZigAndroidTemplate repository adding it to the example. I'd like to get it added to libsoundio at some point
I managed to playback a sine wave on Android using Zig! I actually did it twice - once for AAudio, once for OpenSL ES. What's the difference? AAudio is a newer API meant to reduce latency and complexity. OpenSL ES is a very OOP API that works on devices back to API level 16.
@desttinghim AAudio was straightforward to interface with. I think it only took me a day to figure it out. OpenSL ES was a bit of nightmare. Lots of intermediate steps to get an audio callback. There are features that seem cool, but android doesn't support most of them :(
I still think the toolchain is obnoxious - it assumes an understanding of the Java ecosystem and a desire to use it. I'd like to have a single command that can take binary files and the resource manifest and turn that into an APK
I spent last week learning about android file formats and how android works as a whole. It's actually pretty neat! I've avoided android development in the past because of the way the the Java SDK and IDE are practically required to make an app
What I wanted from Android when I started using it many years ago was desktop linux, but portable. After using desktop linux for many years, I have a better understanding of why they didn't go that route, especially at the time they were creating it
@croloris I think there's too much of a focus on teaching theory first in general. Most people would get much more use out of college if they had work experience before going into it.
I've been playing through legends of heroes trails in the sky. I like the battle system and the story so far! My biggest problem is having to sit through animations during battle
I played #VintageStory with my brother yesterday and it's exactly what I want out of a game in the style of Minecraft - slightly more difficult survival, more early game items, and more interesting crafting.
The really cool part of this to me is how the filters in optics don't need to be powered (apart from the laser light source). Lenses, pinholes, and holograms just affect the signal through the laws of physics.
Got a tour of holographic diffraction grating manufacturing yesterday, and learned that there is a bunch of signal processing in optics. Which makes sense since light can be modelled as a wave, but I hadn't made the connection before.
I've been working on implementing a audio graph api in #zig. I've got a prototype working, though it's not particularly polished. I'd like to hear from people who have used #WebAudio, #miniaudio, or #PureData on the good/bad parts, since my experience with them is minimal.