Loaded and returned audio banks. Let's see if this actually works, though...

This commit is contained in:
MeltyPlayer
2022-10-21 01:04:56 -05:00
parent 7df97a3333
commit 37c8ce046c
74 changed files with 41432 additions and 29 deletions
-10
View File
@@ -807,16 +807,6 @@ void create_next_audio_buffer(s16 *samples, u32 num_samples) {
#endif
#endif
/**
* Called from threads: thread5_game_loop
*/
void play_sound(s32 soundBits, f32 *pos) {
sSoundRequests[sSoundRequestCount].soundBits = soundBits;
sSoundRequests[sSoundRequestCount].position = pos;
sSoundRequestCount++;
//DEBUG_PRINT("play_sound(%d) request#%d; pos %f %f %f\n", soundBits,sSoundRequestCount,pos[0],pos[1],pos[2]);
}
/**
* Called from threads: thread4_sound, thread5_game_loop (EU only)
*/