Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sundark

macrumors newbie
Original poster
Jun 20, 2010
9
0
I need to store 100s of short(1 or 2 sec max) audio files and play them.

What is the best way to accomplish this ? I was looking at few options:
1. Storing files in the Documents folder and using file names in the database (sqlite3)
2. Can I store them as a blob files inside the database, extract blob and create a single temporary .caf file and play it? I am not sure whether it can be done ?

Is .caf is the most optimal and supported audio file for iPhone ?

I'm new to the iphone development. I reviewed both sqllite3 and coredata solutions. I am a strong database developer. I found sqlite3 seem to give more flexibility by directly using sqlite3 even though I lose the advantages using data as objects like in OODBMS. Any thoughts ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.