summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorAndy <andy@rockbox.org>2005-06-19 03:05:53 +0000
committerAndy <andy@rockbox.org>2005-06-19 03:05:53 +0000
commite5d08722f8e1a46ba73af7a6ea7a09833799a25f (patch)
treed8d04a2fc787e90dd7294be609009db1bf2608a2 /apps/debug_menu.c
parent2c0a58c2382ccf9a6195c679f820a9896fd1dbaa (diff)
downloadrockbox-e5d08722f8e1a46ba73af7a6ea7a09833799a25f.zip
rockbox-e5d08722f8e1a46ba73af7a6ea7a09833799a25f.tar.gz
rockbox-e5d08722f8e1a46ba73af7a6ea7a09833799a25f.tar.bz2
rockbox-e5d08722f8e1a46ba73af7a6ea7a09833799a25f.tar.xz
Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 71f730d..7203eb8 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -58,6 +58,9 @@
#include "ata_mmc.h"
#endif
#include "logfdisp.h"
+#if defined(IRIVER_H100) && !defined(SIMULATOR)
+extern bool pcm_rec_screen(void);
+#endif
/*---------------------------------------------------*/
/* SPECIAL DEBUG STUFF */
@@ -1800,6 +1803,9 @@ bool debug_menu(void)
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
{ "CPU frequency", dbg_cpufreq },
#endif
+#if defined(IRIVER_H100) && !defined(SIMULATOR)
+ { "PCM recording", pcm_rec_screen },
+#endif
#if CONFIG_CPU == SH7034
#ifdef HAVE_LCD_BITMAP
#ifdef HAVE_RTC