diff options
author | Martin Scarratt <mmmm@rockbox.org> | 2007-04-15 13:56:21 +0000 |
---|---|---|
committer | Martin Scarratt <mmmm@rockbox.org> | 2007-04-15 13:56:21 +0000 |
commit | 49952325c9d4a74225b3099eb61860bf4592022c (patch) | |
tree | 70302ab68faf2d231ee491c201dcc47736f852b4 /apps/recorder/recording.h | |
parent | 3c6e46ce64297697bbd6c713da3d0ba7856d6ea9 (diff) | |
download | rockbox-49952325c9d4a74225b3099eb61860bf4592022c.tar.gz rockbox-49952325c9d4a74225b3099eb61860bf4592022c.zip |
Recording countdown timer and repeat timer - see FS #6297 for more details
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13165 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/recording.h')
-rw-r--r-- | apps/recorder/recording.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/recorder/recording.h b/apps/recorder/recording.h index 3ca1f35834..4fba37b68a 100644 --- a/apps/recorder/recording.h +++ b/apps/recorder/recording.h | |||
@@ -25,6 +25,22 @@ bool recording_screen(bool no_source); | |||
25 | char *rec_create_filename(char *buf); | 25 | char *rec_create_filename(char *buf); |
26 | int rec_create_directory(void); | 26 | int rec_create_directory(void); |
27 | 27 | ||
28 | struct 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 | |||
42 | struct timer *get_timerstat(void); | ||
43 | |||
28 | /* If true, start recording automatically when recording_sreen() is entered */ | 44 | /* If true, start recording automatically when recording_sreen() is entered */ |
29 | extern bool recording_start_automatic; | 45 | extern bool recording_start_automatic; |
30 | 46 | ||
@@ -33,6 +49,7 @@ extern bool recording_start_automatic; | |||
33 | void rec_set_source(int source, unsigned flags); | 49 | void rec_set_source(int source, unsigned flags); |
34 | #endif /* CONFIG_CODEC == SW_CODEC */ | 50 | #endif /* CONFIG_CODEC == SW_CODEC */ |
35 | 51 | ||
52 | struct audio_recording_options; | ||
36 | /* Initializes a recording_options structure with global settings. | 53 | /* Initializes a recording_options structure with global settings. |
37 | pass returned data to audio_set_recording_options or | 54 | pass returned data to audio_set_recording_options or |
38 | rec_set_recording_options */ | 55 | rec_set_recording_options */ |