> > "... and cache the entire tree in RAM". > > My FAT32 lib requires you to read the entire current directory into > ram. For me, this is a requirement for a mp3 player, it allows random > play. I suggest you make directories for each type of music, similar > to what I believe IPOD does.
More info on this... The itunes software takes a long time to put files onto the media if you have a large collection. It takes a long time since it tries to sort songs by name by writing them to the storage device in order. I think It also places songs in folders by type of music so the user can choose what type of music to listen to. All this makes it much easier on the IPOD CPU and gives a better API for the user. Although having folders may seem like an issue to you, there are ways to get around it. You can make the user API look like one directory, although there may actually be many on the drive. How do you prefer to have your songs arranged? You could also just update a text file every time you update your songs. This file can contain song/file information. I'm not sure if you'll be able to read this text file while playing a song, someday I'll take a look at multitasking fat32. Matt. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
