audio-buffer-through-resource-pack #65
Merged
sigonasr2
merged 2 commits from audio-buffer-through-resource-pack
into master
2 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'audio-buffer-through-resource-pack'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This PR adds the ability for BGM tracks to be encrypted away inside the PGE resource pack system such that it will be more difficult for users to extract the songs from the game.
Because of this, we load the tracks in memory now reading directly from a buffer. (Luckily miniaudio makes this really easy to tack onto the existing pipeline)
Another additional change had to be made with manual loading of sounds. If we want to store a sound ID and track it ourselves, we are now required to specify it's a sound effect to prevent it from getting read as a resource pack item.
ce1caabc90
into master 2 months agoAs an addendum, how to accomplish this came from https://github.com/mackron/miniaudio/discussions/426
ce1caabc90
.