summaryrefslogtreecommitdiff
path: root/firmware/asm/beep.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-02-19 00:33:04 -0500
committerMichael Sevakis <jethead71@rockbox.org>2012-02-19 00:38:58 -0500
commit9a25a6fe19bc798bb7d90ec63e3c54bd8c2892cd (patch)
tree5df4f8da2de3340b685346c38981e877fa970589 /firmware/asm/beep.c
parente5b1b0f998f9ac16dc4a5f6be73be535f22533e4 (diff)
downloadrockbox-9a25a6fe19bc798bb7d90ec63e3c54bd8c2892cd.tar.gz
rockbox-9a25a6fe19bc798bb7d90ec63e3c54bd8c2892cd.zip
beep/mixer code: Code police a bit.
/firmware is in the #include path with makes #include "asm/beep.c" sufficient. Add a comment to generic beep code and make another express intent better. Change-Id: I587cd704478b894785927bdfe2e647e28614df62
Diffstat (limited to 'firmware/asm/beep.c')
-rw-r--r--firmware/asm/beep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/asm/beep.c b/firmware/asm/beep.c
index 0314e32715..d430dff14d 100644
--- a/firmware/asm/beep.c
+++ b/firmware/asm/beep.c
@@ -24,6 +24,7 @@
24#include "m68k/beep.c" 24#include "m68k/beep.c"
25#else /* Generic */ 25#else /* Generic */
26 26
27/* Actually output samples into beep_buf */
27static FORCE_INLINE void beep_generate(int16_t *out, int count, 28static FORCE_INLINE void beep_generate(int16_t *out, int count,
28 uint32_t *phase, uint32_t step, 29 uint32_t *phase, uint32_t step,
29 int16_t amplitude) 30 int16_t amplitude)