top of page
Search

[100] Jenga Tower

  • Writer: Conlan Walker
    Conlan Walker
  • Oct 12, 2023
  • 1 min read

This week, I refactored everything (again) and now it all seems to work.

Really, all that needs to be done is kmixerAsync, which will be used to play audio clips asynchronously, hence the name.


I designed kmixer so that complicated applications can be handled without much issue, while keeping simple usage, well, simple.

In fact, the simplest usage of kmixer works a lot like how SDL_Audio does.

Here's a program for kmixer that goes from nothing to playing a sine wave in <50 lines:

(Wix fixed the bug, yay!)



The rest is the boring stuff you'd expect. The stuff that is all supposed to be hidden from the user, (hopefully) working as intended in the background, yadda yadda:










Next week I'll complete kmixerAsync, which should be the last thing I need to worry about for kmixer. I'll need to write some drivers for music after that, but this time around I can call it something other than kmixer!

 
 
 

Comments


bottom of page