summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-02-11 22:31:08 +0000
committerDave Chapman <dave@dchapman.com>2007-02-11 22:31:08 +0000
commitd64ed22adde3150d09be50387a73dc5e6fc64923 (patch)
treed0de88533b5ed70a565dbbb09b4d3edecc7cb9ab
parentc30ee4ec8ce07f10b0b1a973d8707543f506df78 (diff)
downloadrockbox-d64ed22adde3150d09be50387a73dc5e6fc64923.zip
rockbox-d64ed22adde3150d09be50387a73dc5e6fc64923.tar.gz
rockbox-d64ed22adde3150d09be50387a73dc5e6fc64923.tar.bz2
rockbox-d64ed22adde3150d09be50387a73dc5e6fc64923.tar.xz
FS #6646 from Ben Keroack - move the recently added AFMT_SPEEX to the end of the enum. The values here are used for the %fc WPS tag, so new codecs MUST be added at the end. Also add a comment to that effect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12275 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/id3.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h
index 83fc2cd..c016bd5 100644
--- a/firmware/export/id3.h
+++ b/firmware/export/id3.h
@@ -24,6 +24,9 @@
#include "file.h"
/* Audio file types. */
+/* NOTE: The values of the AFMT_* items are used for the %fc tag in the WPS
+ - so new entries MUST be added to the end to maintain compatibility.
+ */
enum
{
AFMT_UNKNOWN = 0, /* Unknown file format */
@@ -46,9 +49,9 @@ enum
AFMT_AAC, /* Advanced Audio Coding (AAC) in M4A container */
AFMT_SHN, /* Shorten */
AFMT_SID, /* SID File Format */
- AFMT_SPEEX, /* Ogg Speex speech */
AFMT_ADX, /* ADX File Format */
AFMT_NSF, /* NESM (NES Sound Format) */
+ AFMT_SPEEX, /* Ogg Speex speech */
#endif
/* add new formats at any index above this line to have a sensible order -