summaryrefslogtreecommitdiff
path: root/apps/recorder/peakmeter.c
diff options
context:
space:
mode:
authorMartin Scarratt <mmmm@rockbox.org>2006-08-20 21:33:40 +0000
committerMartin Scarratt <mmmm@rockbox.org>2006-08-20 21:33:40 +0000
commitc8bd9129bf146c3c0bbacc744ab509709a004fd7 (patch)
treeecf927b6f31c94f12e073c0b9fbd1a144ecd83d3 /apps/recorder/peakmeter.c
parent7847dde8cf00838de8ff75b8398ffbb1921baf8b (diff)
downloadrockbox-c8bd9129bf146c3c0bbacc744ab509709a004fd7.tar.gz
rockbox-c8bd9129bf146c3c0bbacc744ab509709a004fd7.zip
Button action code for recording screen. Shouldnt make any noticable difference in recording screen button operation except for H300 I-River remote, which should now work as expected, -10 button = LCD off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10666 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/peakmeter.c')
-rw-r--r--apps/recorder/peakmeter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c
index 39444fe787..0370f4deea 100644
--- a/apps/recorder/peakmeter.c
+++ b/apps/recorder/peakmeter.c
@@ -37,6 +37,7 @@
37#ifdef CONFIG_BACKLIGHT 37#ifdef CONFIG_BACKLIGHT
38#include "backlight.h" 38#include "backlight.h"
39#endif 39#endif
40#include "action.h"
40 41
41#if CONFIG_CODEC == SWCODEC 42#if CONFIG_CODEC == SWCODEC
42#include "pcm_playback.h" 43#include "pcm_playback.h"
@@ -1222,7 +1223,7 @@ int peak_meter_draw_get_btn(int x, int y[], int height, int nb_screens)
1222 bool dopeek = true; 1223 bool dopeek = true;
1223 1224
1224 while (TIME_BEFORE(current_tick, next_big_refresh)) { 1225 while (TIME_BEFORE(current_tick, next_big_refresh)) {
1225 button = button_get(false); 1226 button = get_action(CONTEXT_RECSCREEN, TIMEOUT_NOBLOCK);
1226 if (button != BUTTON_NONE) { 1227 if (button != BUTTON_NONE) {
1227 break; 1228 break;
1228 } 1229 }