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
This commit is contained in:
Linus Nielsen Feltzing 2005-04-07 21:07:04 +00:00
parent 579f3d8dcb
commit 1fa117d67c

View file

@ -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 },