Increased number of audio channels to 14 (#409)
This commit is contained in:
@@ -40,6 +40,13 @@
|
||||
*/
|
||||
#define SFX_DEFAULT_PAN MM_PAN_CENTER
|
||||
|
||||
/**
|
||||
* @def GBAL_MM_NUM_CHANNELS
|
||||
* The number of audio channels to allocate for maxmod,
|
||||
* passed to mmInitDefault()
|
||||
*/
|
||||
#define GBAL_MM_NUM_CHANNELS 14
|
||||
|
||||
/**
|
||||
* @brief Play a sound effect, wrapper for mmEffectEx()
|
||||
* See https://maxmod.org/ref/functions/mm_sound_effect.html
|
||||
|
||||
+2
-1
@@ -17,6 +17,7 @@
|
||||
#include "background_gfx.h"
|
||||
|
||||
// Audio
|
||||
#include "audio_utils.h"
|
||||
#include "soundbank.h"
|
||||
#include "soundbank_bin.h"
|
||||
|
||||
@@ -83,7 +84,7 @@ void init()
|
||||
DCNT_WIN1;
|
||||
|
||||
// Initialize subsystems
|
||||
mmInitDefault((mm_addr)soundbank_bin, 12);
|
||||
mmInitDefault((mm_addr)soundbank_bin, GBAL_MM_NUM_CHANNELS);
|
||||
affine_background_init();
|
||||
sprite_init();
|
||||
card_init();
|
||||
|
||||
Reference in New Issue
Block a user