summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-08-13 21:09:10 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-08-13 21:09:10 +0000
commit2966c7cc5a97026f9fdbd823f306a85d4056f093 (patch)
tree8397e51026e5579049b9f22a93b09b2ce17ee918 /apps
parentba284447d5d0b914a6a875fb8a0e25fcffc1d822 (diff)
downloadrockbox-2966c7cc5a97026f9fdbd823f306a85d4056f093.tar.gz
rockbox-2966c7cc5a97026f9fdbd823f306a85d4056f093.tar.bz2
rockbox-2966c7cc5a97026f9fdbd823f306a85d4056f093.zip
Fix a small delay in updating the recording screen. This caused the screen not to update when changing settings fast (key repeat)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18273 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/recording.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index adcad9b8dd..81f6581ffc 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -942,7 +942,7 @@ bool recording_screen(bool no_source)
char buf[32]; /* for preparing strings */
char buf2[32]; /* for preparing strings */
int w, h; /* character width/height */
- int update_countdown = 1; /* refresh counter */
+ int update_countdown = 0; /* refresh counter */
unsigned int seconds;
int hours, minutes;
int audio_stat = 0; /* status of the audio system */
@@ -1155,7 +1155,7 @@ bool recording_screen(bool no_source)
#endif
set_gain();
- update_countdown = 1; /* Update immediately */
+ update_countdown = 0; /* Update immediately */
/* populate translation table for list id -> enum */
if(global_settings.rec_source == AUDIO_SRC_MIC)
@@ -1340,7 +1340,7 @@ bool recording_screen(bool no_source)
#endif /* HAVE_AGC */
}
set_gain();
- update_countdown = 1; /* Update immediately */
+ update_countdown = 0; /* Update immediately */
break;
case ACTION_SETTINGS_DEC:
case ACTION_SETTINGS_DECREPEAT:
@@ -1406,7 +1406,7 @@ bool recording_screen(bool no_source)
#endif /* HAVE_AGC */
}
set_gain();
- update_countdown = 1; /* Update immediately */
+ update_countdown = 0; /* Update immediately */
break;
case ACTION_STD_CANCEL:
/* turn off the trigger */
@@ -1425,7 +1425,7 @@ bool recording_screen(bool no_source)
#endif
done = 1;
}
- update_countdown = 1; /* Update immediately */
+ update_countdown = 0; /* Update immediately */
break;
#ifdef HAVE_REMOTE_LCD
case ACTION_REC_LCD:
@@ -1451,7 +1451,7 @@ bool recording_screen(bool no_source)
screen_update = NB_SCREENS;
}
remote_display_on = !remote_display_on; /* toggle */
- update_countdown = 1; /* Update immediately */
+ update_countdown = 0; /* Update immediately */
break;
#endif
case ACTION_REC_PAUSE:
@@ -1509,7 +1509,7 @@ bool recording_screen(bool no_source)
}
}
}
- update_countdown = 1; /* Update immediately */
+ update_countdown = 0; /* Update immediately */
break;
case ACTION_STD_MENU:
#if CONFIG_CODEC == SWCODEC
@@ -1552,7 +1552,7 @@ bool recording_screen(bool no_source)
done = true;
}
else
- update_countdown = 1; /* Update immediately */
+ update_countdown = 0; /* Update immediately */
}
break;
@@ -1574,7 +1574,7 @@ bool recording_screen(bool no_source)
done = true;
}
else
- update_countdown = 1; /* Update immediately */
+ update_countdown = 0; /* Update immediately */
}
break;
#endif /* CONFIG_KEYPAD == RECORDER_PAD */
@@ -1717,7 +1717,7 @@ bool recording_screen(bool no_source)
else
rec_command(RECORDING_CMD_STOP_SHUTDOWN);
}
- update_countdown = 1;
+ update_countdown = 0;
}
/* draw the clipcounter just in front of the peakmeter */