Instead of storing audio files in the assets, if it's stored in the database, will the space usage reduce? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Instead of storing audio files in the assets, if it's stored in the database, will the space usage reduce?

it's related to android app development

10th Jan 2017, 6:45 PM
usama
2 Answers
+ 2
Probably not because you should only be using audio that has already been compressed (like mp3 and not wav). A database might do compression on the data but almost always this will result in a larger overall size since you can't really compress a well compressed object. Further, the database will have to add a bunch of book keeping data and access time will be slow.
10th Jan 2017, 7:15 PM
James Durand
James Durand - avatar
0
@James Durand thank you for your response.
10th Jan 2017, 7:21 PM
usama