diff --git a/users/sadekbaroudi/audio_userspace.c b/users/sadekbaroudi/audio_userspace.c new file mode 100644 index 0000000000..91bb9ccffc --- /dev/null +++ b/users/sadekbaroudi/audio_userspace.c @@ -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 diff --git a/users/sadekbaroudi/audio_userspace.h b/users/sadekbaroudi/audio_userspace.h new file mode 100644 index 0000000000..e69de29bb2 diff --git a/users/sadekbaroudi/rules.mk b/users/sadekbaroudi/rules.mk index 9157c8955b..b10950e427 100755 --- a/users/sadekbaroudi/rules.mk +++ b/users/sadekbaroudi/rules.mk @@ -51,3 +51,7 @@ ifeq ($(strip $(COMBO_ENABLE)), yes) SRC += combos.c endif +ifeq ($(strip $(AUDIO_ENABLE)), yes) + SRC += audio_userspace.c +endif +