summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-06-22 09:34:57 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-06-22 09:34:57 +0000
commitea255fbc3a5842d200e943522cea9bd2cb701dd6 (patch)
treecb730c3b060dc3c253d64695d49a4f14a0da65d0 /apps/misc.h
parent6e21c146f80b17e158f3f13f84afab2978367917 (diff)
downloadrockbox-ea255fbc3a5842d200e943522cea9bd2cb701dd6.tar.gz
rockbox-ea255fbc3a5842d200e943522cea9bd2cb701dd6.zip
Prevent initial spinup when starting first file when in a stopped state on non-RTC targets. Fix some states that are dangerous on SWCODEC and could result in data loss. Had to make plugin API incopatible since specified numbered filename creation is enabled now on all non-RTC targets with recording; increase version and sort the items that looked like they had a place to go.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13683 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/misc.h b/apps/misc.h
index b0adb92a0e..25937fae29 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -38,9 +38,9 @@ char *output_dyn_value(char *buf, int buf_size, int value,
38 * less than zero to number automatically. The final number used will also 38 * less than zero to number automatically. The final number used will also
39 * be returned in *num. If *num is >= 0 then *num will be incremented by 39 * be returned in *num. If *num is >= 0 then *num will be incremented by
40 * one. */ 40 * one. */
41#if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) && (CONFIG_RTC == 0) 41#if defined(HAVE_RECORDING) && (CONFIG_RTC == 0)
42/* this feature is needed by SWCODEC recording without a RTC to prevent 42/* this feature is needed by recording without a RTC to prevent disk access
43 disk access when changing files */ 43 when changing files */
44#define IF_CNFN_NUM_(...) __VA_ARGS__ 44#define IF_CNFN_NUM_(...) __VA_ARGS__
45#define IF_CNFN_NUM 45#define IF_CNFN_NUM
46#else 46#else