aboutsummaryrefslogtreecommitdiff
path: root/c/echo.h
diff options
context:
space:
mode:
authorsik2018-01-22 19:19:19 -0300
committersik2018-01-22 19:19:19 -0300
commit8fdf49b8e53fd3063ccc2eb51c49c3b6e4d073bb (patch)
treeaddb91518f99d4df76986d3e282e41cd6baf077e /c/echo.h
parenta2f67fbe8fe6b27f661e70ce2b6b75c17cd1fe54 (diff)
Echo 1.6 release... kind of a mess, will clean up in further commits I guess
Diffstat (limited to 'c/echo.h')
-rw-r--r--c/echo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/echo.h b/c/echo.h
index dd89600..3812c46 100644
--- a/c/echo.h
+++ b/c/echo.h
@@ -15,6 +15,7 @@ enum {
ECHO_CMD_RESUMEBGM, /* 0x06 - Resume BGM playback */
ECHO_CMD_SETPCMRATE, /* 0x07 - Set PCM rate */
ECHO_CMD_PAUSEBGM, /* 0x08 - Pause BGM playback */
+ ECHO_CMD_SETSTEREO, /* 0x09 - Toggle stereo */
};
/* Echo status flags */
@@ -47,4 +48,8 @@ void echo_send_command_byte(uint8_t cmd, uint8_t byte);
static void (* const echo_send_command_ex)(uint8_t, const void *) =
echo_send_command_addr;
+/* Look-up tables */
+extern const uint8_t echo_fm_vol_table[0x40];
+extern const uint8_t echo_psg_vol_table[0x40];
+
#endif