Add "m4b" to the list of supported filename extensions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11689 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e9163b4fb4
commit
d00f1d599a
3 changed files with 4 additions and 3 deletions
|
@ -64,8 +64,8 @@ static int fontwidth, fontheight;
|
|||
|
||||
/* TODO: Better get the exts from the filetypes var in tree.c */
|
||||
const char *music_exts[] = {"mp3","mp2","mp1","mpa","ogg",
|
||||
"wav","flac","ac3","a52","mpc","wv","m4a","mp4","shn",
|
||||
"aif","aiff"};
|
||||
"wav","flac","ac3","a52","mpc","wv","m4a","m4b","mp4",
|
||||
"shn","aif","aiff"};
|
||||
|
||||
void prn(const char *str, int y)
|
||||
{
|
||||
|
|
|
@ -101,6 +101,7 @@ const struct filetype filetypes[] = {
|
|||
{ "mpc", TREE_ATTR_MPA, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "wv", TREE_ATTR_MPA, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "m4a", TREE_ATTR_MPA, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "m4b", TREE_ATTR_MPA, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "mp4", TREE_ATTR_MPA, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "shn", TREE_ATTR_MPA, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "aif", TREE_ATTR_MPA, Icon_Audio, VOICE_EXT_MPA },
|
||||
|
|
|
@ -85,7 +85,7 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] =
|
|||
AFMT_ENTRY("WV", "wavpack", "wavpack_enc", "wv\0" ),
|
||||
/* Apple Lossless Audio Codec */
|
||||
[AFMT_ALAC] =
|
||||
AFMT_ENTRY("ALAC", "alac", NULL, "m4a\0" ),
|
||||
AFMT_ENTRY("ALAC", "alac", NULL, "m4a\0m4b\0" ),
|
||||
/* Advanced Audio Coding in M4A container */
|
||||
[AFMT_AAC] =
|
||||
AFMT_ENTRY("AAC", "aac", NULL, "mp4\0" ),
|
||||
|
|
Loading…
Reference in a new issue