KelvinShadewing / brux-gdk

Free runtime and development kit using SDL and Squirrel
GNU Affero General Public License v3.0
39 stars 20 forks source link

Implement an audio portability API #54

Closed hexaheximal closed 1 year ago

hexaheximal commented 1 year ago

One major issue I've always had with brux-gdk is that it's not very portable since it has a strict dependency on SDL2.

This commit implements an audio portability API that allows non-SDL2 backends to be implemented, and improves the test suite included in the rte directory.

In case it's still needed though, the old version can still be found in test_old.

In the future, I want to also implement a portability API for graphics, input, and filesystem operations.

By the way, I also fixed some bugs in this commit ;)

tulpenkiste commented 1 year ago

Other than the 2 changes I've outlined, I'm fine with this PR.

hexaheximal commented 1 year ago

This appears to have gotten kelvin's approval, watch the stream for more info.