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
This commit is contained in:
parent
c30ee4ec8c
commit
d64ed22add
1 changed files with 4 additions and 1 deletions
|
@ -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 -
|
||||
|
|
Loading…
Reference in a new issue