mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Android: install codecs as native libs instead of extracting them (FS#12134).
Codec files are loaded as dynamic libraries. Instead of extracting them from the packaged libmisc.so and therefore having them present twice on the device put them into the apk as native libraries. 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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29940 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1aadfb2229
commit
70b81e65cc
5 changed files with 26 additions and 4 deletions
|
@ -60,7 +60,11 @@
|
|||
#else /* application */
|
||||
|
||||
#define PLUGIN_DIR ROCKBOX_LIBRARY_PATH "/rockbox/rocks"
|
||||
#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
|
||||
#define CODECS_DIR ROCKBOX_BINARY_PATH
|
||||
#else
|
||||
#define CODECS_DIR ROCKBOX_LIBRARY_PATH "/rockbox/codecs"
|
||||
#endif
|
||||
|
||||
#define REC_BASE_DIR ROCKBOX_DIR "/"
|
||||
#define PLAYLIST_CATALOG_DEFAULT_DIR ROCKBOX_DIR "/Playlists"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue