mirror of
https://github.com/zeldaret/oot
synced 2026-06-02 18:18:52 -04:00
d307a37233
* reorganize audio files * audio code files * split audio and libaudio * audio_init_params to audio_configuration * simplify file names * move aisetnextbuf to libaudio * move src/audio -> src/code/audio * adjust makefile comment * reorganize again into internal/external * adjust comment * restructure again
14 lines
344 B
C
14 lines
344 B
C
#include "global.h"
|
|
|
|
u8 sSfxBankIds[] = {
|
|
BANK_PLAYER, BANK_ITEM, BANK_ENV, BANK_ENEMY, BANK_SYSTEM, BANK_OCARINA, BANK_VOICE,
|
|
};
|
|
|
|
void AudioMgr_StopAllSfx(void) {
|
|
u8* bankIdPtr;
|
|
|
|
for (bankIdPtr = &sSfxBankIds[0]; bankIdPtr < (sSfxBankIds + ARRAY_COUNT(sSfxBankIds)); bankIdPtr++) {
|
|
Audio_StopSfxByBank(*bankIdPtr);
|
|
}
|
|
}
|