added userspace audio configuration

This commit is contained in:
Sadek Baroudi 2023-06-17 03:27:57 -07:00
parent e66f9aab6f
commit c909e5901a
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#ifdef AUDIO_ENABLED
#include "audio_userspace.h"
#include "song_list.h"
#include "musical_notes.h"
#define ZELDA_SECRET_SONG HALF_NOTE(_G6), HALF_NOTE(_FS6), HALF_NOTE(_DS6), HALF_NOTE(_A5), HALF_NOTE(_GS5), HALF_NOTE(_E6), HALF_NOTE(_G6), WHOLE_DOT_NOTE(_AS6)
float zelda_secret_song[][2] = SONG(ZELDA_SECRET_SONG);
#endif

View File

View File

@ -51,3 +51,7 @@ ifeq ($(strip $(COMBO_ENABLE)), yes)
SRC += combos.c
endif
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += audio_userspace.c
endif