1
0
Fork 0

add bank loader

This commit is contained in:
Sen 2025-09-03 11:18:13 +02:00
parent 324332c242
commit ceda16246c
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
35 changed files with 1118 additions and 35 deletions

View file

@ -2604,8 +2604,10 @@ public class Client implements IThreadListener {
}
private void startSound(boolean load) {
if(load)
if(load) {
SoundManager.loadSounds();
MidiBank.loadBanks();
}
this.audio = new AudioInterface(this.soundFrameSize, this.soundBufferSize, !this.soundEnabled);
boolean started = this.audio.start();
Log.flushLog();