summaryrefslogtreecommitdiffstats
path: root/apps/settings.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-01-21 14:58:40 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-01-21 14:58:40 +0000
commitef7293f0bc336beb30f3a5f2eafad4a447f60ac5 (patch)
tree68b02b0278b25a10a261d8813bbf5be39e1a51b6 /apps/settings.h
parent33acdef9db5ffa2c6f93dc07d0400c7a72a0f25e (diff)
downloadrockbox-ef7293f0bc336beb30f3a5f2eafad4a447f60ac5.tar.gz
rockbox-ef7293f0bc336beb30f3a5f2eafad4a447f60ac5.zip
New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
New feature: A "Create directory" menu option (untested in the simulator). Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 49fa83b359..436b5204d5 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -28,6 +28,7 @@
#define FONT_DIR "/fonts"
#define LANG_DIR "/langs"
#define PLUGIN_DIR ROCKBOX_DIR"/rocks"
+#define REC_BASE_DIR "/recordings"
#define MAX_FILENAME 20
@@ -95,6 +96,7 @@ struct user_settings
13= 24:00 */
int rec_prerecord_time; /* In seconds, 0-30, 0 means OFF */
+ int rec_directory; /* 0=base dir, 1=current dir */
/* device settings */
@@ -230,6 +232,9 @@ extern struct user_settings global_settings;
extern char rockboxdir[];
extern long lasttime;
+/* Recording base directory */
+extern char rec_base_directory[];
+
/* system defines */
#ifdef HAVE_LCD_CHARCELLS