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.zip
rockbox-ea255fbc3a5842d200e943522cea9bd2cb701dd6.tar.gz
rockbox-ea255fbc3a5842d200e943522cea9bd2cb701dd6.tar.bz2
rockbox-ea255fbc3a5842d200e943522cea9bd2cb701dd6.tar.xz
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 b0adb92..25937fa 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -38,9 +38,9 @@ char *output_dyn_value(char *buf, int buf_size, int value,
* less than zero to number automatically. The final number used will also
* be returned in *num. If *num is >= 0 then *num will be incremented by
* one. */
-#if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) && (CONFIG_RTC == 0)
-/* this feature is needed by SWCODEC recording without a RTC to prevent
- disk access when changing files */
+#if defined(HAVE_RECORDING) && (CONFIG_RTC == 0)
+/* this feature is needed by recording without a RTC to prevent disk access
+ when changing files */
#define IF_CNFN_NUM_(...) __VA_ARGS__
#define IF_CNFN_NUM
#else