From 76b729c47b8edca000ed93f81e6d6bf62dab1701 Mon Sep 17 00:00:00 2001 From: Martin Scarratt Date: Thu, 20 Jul 2006 22:44:10 +0000 Subject: On-the-fly filesplitting when recording for I-Rivers. Record button starts new file, Play/Pause button pauses/resumes recording. Also, Filename information for all screens > 80 pixels high. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10270 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/peakmeter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/recorder/peakmeter.c') diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index cb5464f9af..4b8843cff3 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c @@ -1169,7 +1169,7 @@ void peak_meter_draw_trig(int xpos, int ypos) } #endif -int peak_meter_draw_get_btn(int x, int y, int height) +int peak_meter_draw_get_btn(int x, int y[], int height) { int button = BUTTON_NONE; long next_refresh = current_tick; @@ -1197,8 +1197,8 @@ int peak_meter_draw_get_btn(int x, int y, int height) if (TIME_AFTER(current_tick, next_refresh)) { FOR_NB_SCREENS(i) { - peak_meter_screen(&screens[i], x, y, height); - screens[i].update_rect(x, y, screens[i].width, height); + peak_meter_screen(&screens[i], x, y[i], height); + screens[i].update_rect(x, y[i], screens[i].width, height); } next_refresh += HZ / PEAK_METER_FPS; dopeek = true; -- cgit v1.2.3