summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-08-20 11:13:19 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-08-20 11:13:19 +0000
commit159c52dd36e5c008612458192904f57ea6dfdfad (patch)
tree4b6f7d8329069e90d72284ef73ba542d75705b55 /apps/debug_menu.c
parent329caa8ade0b78a3235e9d28983cb1c506e573a0 (diff)
downloadrockbox-159c52dd36e5c008612458192904f57ea6dfdfad.zip
rockbox-159c52dd36e5c008612458192904f57ea6dfdfad.tar.gz
rockbox-159c52dd36e5c008612458192904f57ea6dfdfad.tar.bz2
rockbox-159c52dd36e5c008612458192904f57ea6dfdfad.tar.xz
Initial voice ui support for software codec platforms. Added also a
beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 86e02a1..b4cd056 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -208,8 +208,8 @@ bool dbg_audio_thread(void)
}
#else
extern size_t audiobuffer_free;
-extern int codecbuflen;
-extern int codecbufused;
+extern int filebuflen;
+extern int filebufused;
extern int track_count;
static int ticks, boost_ticks;
@@ -260,12 +260,12 @@ bool dbg_audio_thread(void)
bufsize-audiobuffer_free, HORIZONTAL);
line++;
- snprintf(buf, sizeof(buf), "codec: %d/%d", codecbufused, codecbuflen);
+ snprintf(buf, sizeof(buf), "codec: %d/%d", filebufused, filebuflen);
lcd_puts(0, line++, buf);
/* Playable space left */
- scrollbar(0, line*8, LCD_WIDTH, 6, codecbuflen, 0,
- codecbufused, HORIZONTAL);
+ scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0,
+ filebufused, HORIZONTAL);
line++;
snprintf(buf, sizeof(buf), "track count: %d", track_count);