FS#12134 - Android: install codecs as native libs instead of extracting them from libmisc.so
Opened by Dominik Riebeling (bluebrother) - Sunday, 29 May 2011, 11:42 GMT
Last edited by Dominik Riebeling (bluebrother) - Tuesday, 31 May 2011, 21:26 GMT
Codec files are loaded as dynamic libraries on Android. Instead of extracting them from the packaged libmisc.so and therefore having them present twice on the device this patch puts them into the apk as native libraries. This decreases the size of the installed Rockbox by the compressed size of the codecs. Also, the extraction on first Rockbox startup gets notably faster since it's less data to extract.
This brings the size of installed Rockbox down from 13.0MB to 8.57MB on my device (Application / Data: 9.6 / 3.4 to 8.1 / 0.5)
Tuesday, 31 May 2011, 21:26 GMT
Reason for closing: Accepted