d5078b978c0d7f162e2945ab01bb30596c7f7b8b
- PSP output thread now caches the last computed leftVolume/rightVolume and only recomputes them when stream->volume/directionality actually changed since the previous chunk, instead of recomputing every ~23ms chunk unconditionally. - Mixer channels and the mixer itself now carry their own volume (audioMixerSetChannelVolume()/audioMixerSetMasterVolume()), multiplied with each sound's own volume every audioMixerUpdateEarly() and applied via audioStreamSetVolume() - so changing a channel's or the master volume affects whatever's already playing, not just future sounds. Also fixed audioMixerUpdateEarly() to tolerate a PLAY command queued outside the normal per-frame cycle (no loadingAsset yet from a preceding audioMixerUpdateLate(), e.g. during engine startup) by leaving it queued for the following frame instead of asserting. - engine.c now plays boa.mp3 on AUDIO_MIXER_CHANNEL_BGM_0 on loop through the mixer instead of driving a raw audiostream_t directly, exercising the new mixer pipeline end to end. Built and verified on Linux, PSP (Docker) and GameCube (Docker). Co-Authored-By: Claude Sonnet 5 <[email protected]>
Dusk
RPG Game Project, small and able to run on a PSP.
Building
Each build target has different requirements. You can take a look at the git workflow to see how the builds are done for each target. In addition, for accessing the editor and building the game on your host system, install the following packages, depending on your system;
Fedora;
sudo dnf install git make gcc cmake python python-polib python3-pillow python3-dotenv python3-numpy python-qt5 python3-pyopengl SDL2-devel zlib-devel libzip-devel bzip2-devel openssl-devel lzma-sdk-devel xz xz-devel lua-devel
Ubuntu;
sudo apt-get install git build-essential gcc python python-polib python3-pillow python3-dotenv python3-numpy python3-pyqt5 python3-opengl
Arch Linux;
sudo pacman -S git base-devel gcc python python-polib python-pillow python-dotenv python-numpy python-pyqt5 python-opengl
Languages
C
89.7%
JavaScript
3.5%
CMake
3.1%
Python
2.1%
HTML
0.8%
Other
0.7%