summaryrefslogtreecommitdiff
path: root/apps/dsp_asm.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2008-03-19 13:55:53 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2008-03-19 13:55:53 +0000
commitfd052ec753cade16675e211ced0a2be19c0d545f (patch)
tree094375afe1644abe2a312bb7feee885dcbdb64c0 /apps/dsp_asm.h
parent178df1cfcfa529c58ad37922d6d934e1e0328fc5 (diff)
downloadrockbox-fd052ec753cade16675e211ced0a2be19c0d545f.zip
rockbox-fd052ec753cade16675e211ced0a2be19c0d545f.tar.gz
rockbox-fd052ec753cade16675e211ced0a2be19c0d545f.tar.bz2
rockbox-fd052ec753cade16675e211ced0a2be19c0d545f.tar.xz
Commit FS#8750. Add ARM assembler for the dsp-functions channels_process_sound_chan_mono(), channels_process_sound_chan_karaoke(), sample_output_mono() and sample_output_stereo(). By measurement the speed up is ~75% for the first three functions and ~40% for sample_output_stereo(). Additionally avoid calling yield() to often in dsp.c -- it is now limited to once per tick.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16717 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/dsp_asm.h')
-rw-r--r--apps/dsp_asm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dsp_asm.h b/apps/dsp_asm.h
index 02307db..9c40dee 100644
--- a/apps/dsp_asm.h
+++ b/apps/dsp_asm.h
@@ -26,6 +26,10 @@
#if defined(CPU_ARM)
#define DSP_HAVE_ASM_RESAMPLING
#define DSP_HAVE_ASM_CROSSFEED
+#define DSP_HAVE_ASM_SOUND_CHAN_MONO
+#define DSP_HAVE_ASM_SOUND_CHAN_KARAOKE
+#define DSP_HAVE_ASM_SAMPLE_OUTPUT_MONO
+#define DSP_HAVE_ASM_SAMPLE_OUTPUT_STEREO
#elif defined (CPU_COLDFIRE)
#define DSP_HAVE_ASM_APPLY_GAIN
#define DSP_HAVE_ASM_RESAMPLING