summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-15 22:16:28 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-15 22:16:28 +0000
commitce05addf52ed784026d9ca8397f3c2e239ff9ed4 (patch)
tree2371e53a613848849ed7ada266b92c26fb3542d2 /apps/recorder/recording.h
parent49cf05cb91c9160b79323bb8c798604b3cd8e2f2 (diff)
downloadrockbox-ce05addf52ed784026d9ca8397f3c2e239ff9ed4.tar.gz
rockbox-ce05addf52ed784026d9ca8397f3c2e239ff9ed4.zip
Revert recording/repeat timer for now. It is useful as a feature, but didn't receive enough testing on multiple targets, and fixing it is non-trivial. Later reversal would be complicated because of .lng spreading. * The patch should probably redone in a different way, as it's huge for what it does... * Issues: (1) The repeat timer setting has NULL pointer hits. (2) The multi-int setting screen breaks with proportional fonts, and with somewhat larger fonts. (3) On some targets, all values except the leftmost one are unreachable. * Hint: The timer itself would be much simpler if it'd just store & compare ticks (497 days before it wraps).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13172 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/recording.h')
-rw-r--r--apps/recorder/recording.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/recorder/recording.h b/apps/recorder/recording.h
index 4fba37b68a..3ca1f35834 100644
--- a/apps/recorder/recording.h
+++ b/apps/recorder/recording.h
@@ -25,22 +25,6 @@ bool recording_screen(bool no_source);
25char *rec_create_filename(char *buf); 25char *rec_create_filename(char *buf);
26int rec_create_directory(void); 26int rec_create_directory(void);
27 27
28struct timer
29{
30 bool countdown;
31 bool timer_display;
32 unsigned int days;
33 unsigned int hrs;
34 unsigned int mins;
35 unsigned int secs;
36 unsigned int days_rpt;
37 unsigned int hrs_rpt;
38 unsigned int mins_rpt;
39 bool repeater;
40};
41
42struct timer *get_timerstat(void);
43
44/* If true, start recording automatically when recording_sreen() is entered */ 28/* If true, start recording automatically when recording_sreen() is entered */
45extern bool recording_start_automatic; 29extern bool recording_start_automatic;
46 30
@@ -49,7 +33,6 @@ extern bool recording_start_automatic;
49void rec_set_source(int source, unsigned flags); 33void rec_set_source(int source, unsigned flags);
50#endif /* CONFIG_CODEC == SW_CODEC */ 34#endif /* CONFIG_CODEC == SW_CODEC */
51 35
52struct audio_recording_options;
53/* Initializes a recording_options structure with global settings. 36/* Initializes a recording_options structure with global settings.
54 pass returned data to audio_set_recording_options or 37 pass returned data to audio_set_recording_options or
55 rec_set_recording_options */ 38 rec_set_recording_options */