summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-07 21:07:04 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-07 21:07:04 +0000
commit1fa117d67c86134e08dd2a3992f692e9adf3a99a (patch)
tree1689063b47c0975a8989e0f16c8da4c66e503b13 /apps
parent579f3d8dcb4c9e7696d68d43c118cd5283f760cc (diff)
downloadrockbox-1fa117d67c86134e08dd2a3992f692e9adf3a99a.tar.gz
rockbox-1fa117d67c86134e08dd2a3992f692e9adf3a99a.tar.bz2
rockbox-1fa117d67c86134e08dd2a3992f692e9adf3a99a.zip
Temp fix to allow playlist creation with .ogg, .wav and .wma files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6261 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 7865e22447..bd4fe37180 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -71,6 +71,12 @@ const struct filetype filetypes[] = {
{ ".mp3", TREE_ATTR_MPA, File, VOICE_EXT_MPA },
{ ".mp2", TREE_ATTR_MPA, File, VOICE_EXT_MPA },
{ ".mpa", TREE_ATTR_MPA, File, VOICE_EXT_MPA },
+#if CONFIG_HWCODEC == MASNONE
+ /* Temporary hack to allow playlist creation */
+ { ".ogg", TREE_ATTR_MPA, File, VOICE_EXT_MPA },
+ { ".wma", TREE_ATTR_MPA, File, VOICE_EXT_MPA },
+ { ".wav", TREE_ATTR_MPA, File, VOICE_EXT_MPA },
+#endif
{ ".m3u", TREE_ATTR_M3U, Playlist, LANG_PLAYLIST },
{ ".cfg", TREE_ATTR_CFG, Config, VOICE_EXT_CFG },
{ ".wps", TREE_ATTR_WPS, Wps, VOICE_EXT_WPS },