From 1fa117d67c86134e08dd2a3992f692e9adf3a99a Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 7 Apr 2005 21:07:04 +0000 Subject: 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 --- apps/tree.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/tree.c') 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 }, -- cgit v1.2.3