summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-05 11:33:58 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-05 11:33:58 +0000
commitd34865a5307e7bf91d986036797423975ac828b4 (patch)
tree41dcc1775f6cdc1d655f1eddadaabdf90c7ac22f /apps/debug_menu.c
parent6cf9d51b3374cdc436c45f165a10f607832126ee (diff)
downloadrockbox-d34865a5307e7bf91d986036797423975ac828b4.tar.gz
rockbox-d34865a5307e7bf91d986036797423975ac828b4.zip
mp3buf renamed to audiobuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index d8ebe9bfb1..2ab2194199 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -126,7 +126,7 @@ int load_wave(char *filename)
126 if (audio_size > 8*1024*1024) 126 if (audio_size > 8*1024*1024)
127 audio_size = 8*1024*1024; 127 audio_size = 8*1024*1024;
128 128
129 audio_buffer = mp3buf; 129 audio_buffer = audiobuf;
130 130
131 puts("Reading %d bytes..", audio_size); 131 puts("Reading %d bytes..", audio_size);
132 132
@@ -356,11 +356,11 @@ bool dbg_audio_thread(void)
356 356
357 lcd_clear_display(); 357 lcd_clear_display();
358 358
359 snprintf(buf, sizeof(buf), "read: %x", d.mp3buf_read); 359 snprintf(buf, sizeof(buf), "read: %x", d.audiobuf_read);
360 lcd_puts(0, 0, buf); 360 lcd_puts(0, 0, buf);
361 snprintf(buf, sizeof(buf), "write: %x", d.mp3buf_write); 361 snprintf(buf, sizeof(buf), "write: %x", d.audiobuf_write);
362 lcd_puts(0, 1, buf); 362 lcd_puts(0, 1, buf);
363 snprintf(buf, sizeof(buf), "swap: %x", d.mp3buf_swapwrite); 363 snprintf(buf, sizeof(buf), "swap: %x", d.audiobuf_swapwrite);
364 lcd_puts(0, 2, buf); 364 lcd_puts(0, 2, buf);
365 snprintf(buf, sizeof(buf), "playing: %d", d.playing); 365 snprintf(buf, sizeof(buf), "playing: %d", d.playing);
366 lcd_puts(0, 3, buf); 366 lcd_puts(0, 3, buf);
@@ -370,11 +370,11 @@ bool dbg_audio_thread(void)
370 lcd_puts(0, 5, buf); 370 lcd_puts(0, 5, buf);
371 371
372 /* Playable space left */ 372 /* Playable space left */
373 scrollbar(0, 6*8, 112, 4, d.mp3buflen, 0, 373 scrollbar(0, 6*8, 112, 4, d.audiobuflen, 0,
374 d.playable_space, HORIZONTAL); 374 d.playable_space, HORIZONTAL);
375 375
376 /* Show the watermark limit */ 376 /* Show the watermark limit */
377 scrollbar(0, 6*8+4, 112, 4, d.mp3buflen, 0, 377 scrollbar(0, 6*8+4, 112, 4, d.audiobuflen, 0,
378 d.low_watermark_level, HORIZONTAL); 378 d.low_watermark_level, HORIZONTAL);
379 379
380 snprintf(buf, sizeof(buf), "wm: %x - %x", 380 snprintf(buf, sizeof(buf), "wm: %x - %x",