diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/id3.h | 1 | ||||
-rw-r--r-- | firmware/id3.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h index 96a27a55af..4ce2e9978f 100644 --- a/firmware/export/id3.h +++ b/firmware/export/id3.h | |||
@@ -56,6 +56,7 @@ enum | |||
56 | AFMT_SPEEX, /* Ogg Speex speech */ | 56 | AFMT_SPEEX, /* Ogg Speex speech */ |
57 | AFMT_SPC, /* SPC700 save state */ | 57 | AFMT_SPC, /* SPC700 save state */ |
58 | AFMT_APE, /* Monkey's Audio (APE) */ | 58 | AFMT_APE, /* Monkey's Audio (APE) */ |
59 | AFMT_WMA, /* WMAV1/V2 in ASF */ | ||
59 | #endif | 60 | #endif |
60 | 61 | ||
61 | /* add new formats at any index above this line to have a sensible order - | 62 | /* add new formats at any index above this line to have a sensible order - |
diff --git a/firmware/id3.c b/firmware/id3.c index 3e7b392554..197aa0492a 100644 --- a/firmware/id3.c +++ b/firmware/id3.c | |||
@@ -110,6 +110,9 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] = | |||
110 | /* APE (Monkey's Audio) */ | 110 | /* APE (Monkey's Audio) */ |
111 | [AFMT_APE] = | 111 | [AFMT_APE] = |
112 | AFMT_ENTRY("APE", "ape", NULL, "ape\0mac\0" ), | 112 | AFMT_ENTRY("APE", "ape", NULL, "ape\0mac\0" ), |
113 | /* WMA (WMAV1/V2 in ASF) */ | ||
114 | [AFMT_WMA] = | ||
115 | AFMT_ENTRY("WMA", "wma", NULL, "wma\0wmv\0asf" ), | ||
113 | #endif | 116 | #endif |
114 | }; | 117 | }; |
115 | 118 | ||