diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-06-11 12:37:36 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-06-11 12:37:36 +0000 |
| commit | 775923e3639adec7f0aa4d52c68cabd8645f5d36 (patch) | |
| tree | ba37379aaa861ed7fd019f01deecb3b4069c73db /apps | |
| parent | 55ed7d7214684d53c38eb4fe293249e5d3e0ac91 (diff) | |
| download | rockbox-775923e3639adec7f0aa4d52c68cabd8645f5d36.zip rockbox-775923e3639adec7f0aa4d52c68cabd8645f5d36.tar.gz rockbox-775923e3639adec7f0aa4d52c68cabd8645f5d36.tar.bz2 rockbox-775923e3639adec7f0aa4d52c68cabd8645f5d36.tar.xz | |
Add .a52 and .mpc to supported list of audio files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6669 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/filetypes.c | 4 | ||||
| -rw-r--r-- | apps/tree.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c index 066b008..b1cda40 100644 --- a/apps/filetypes.c +++ b/apps/filetypes.c @@ -40,7 +40,11 @@ #define MAX_PLUGIN_LENGTH 32 /* max filetypes (plugins & icons stored here) */ +#if CONFIG_HWCODEC == MASNONE +#define MAX_FILETYPES 64 +#else #define MAX_FILETYPES 32 +#endif /* max exttypes (extensions stored here) */ #if CONFIG_HWCODEC == MASNONE diff --git a/apps/tree.c b/apps/tree.c index b52e897..ca86bb2 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -78,6 +78,8 @@ const struct filetype filetypes[] = { { ".wav", TREE_ATTR_MPA, File, VOICE_EXT_MPA }, { ".flac", TREE_ATTR_MPA, File, VOICE_EXT_MPA }, { ".ac3", TREE_ATTR_MPA, File, VOICE_EXT_MPA }, + { ".a52", TREE_ATTR_MPA, File, VOICE_EXT_MPA }, + { ".mpc", TREE_ATTR_MPA, File, VOICE_EXT_MPA }, #endif { ".m3u", TREE_ATTR_M3U, Playlist, LANG_PLAYLIST }, { ".cfg", TREE_ATTR_CFG, Config, VOICE_EXT_CFG }, |