// A disk architecture folder1 | folder3 | | file4.mp3 | file5.txt folder2 | file6.txt file1.mp3 file2.txt file3.mp3 // The "File list" provided by basic navigator when the "root" is the "current folder" folder1 folder2 file1.mp3 file2.txt file3.mp3 // The "File list" provided by basic navigator when the "folder1" is the "current folder" (via nav_dir_cd()) folder3 file5.txt // The "File list" provided by Filter navigator when the "root" is the "current folder" folder1 folder2 file1.mp3 file3.mp3 // The "File list" provided by Filter navigator when the "folder1" is the "current folder" (via nav_dir_cd()) folder3
// A disk architecture folder1 | folder3 | | file4 | file5 folder2 | file6 file1 file2 file3 // The "File list" provided by basic navigator when the "root" is the "current folder" folder1 folder2 file1 file2 file3 // The "File list" provided by basic navigator when the "folder1" is the "current folder" (via nav_dir_cd()) folder3 file5 // The "File list" provided by FLAT navigator when the "root" is the "current folder" folder1 folder3 file4 file5 folder2 file6 file1 file2 file3 // The "File list" provided by FLAT navigator when the "folder1" is the "current folder" (via nav_dir_cd()) folder3 file4 file5
Play list
// Navigator used to open the file playlist #define FS_NAV_ID_PLAYLIST 2 // Playlist Interface to allocate a space to store the current path included in play list // Example with alloc library #define PLAYLIST_BUF_ALLOC( size ) malloc( size ) #define PLAYLIST_BUF_FREE( buf ) free( buf ) // Example with no alloc library #define PLAYLIST_BUF_ALLOC( size ) ((sizeof(g_buffer_512)>512)? NULL : g_buffer_512) #define PLAYLIST_BUF_FREE( buf )
Automatic Navigation
// The feature "count all files available" may be disabled to save time at startup #define FS_NAV_AUTOMATIC_NBFILE ENABLE // Specify the file order in the list provided by the plug-in "Automatic Navigation" (nav_automatic.c) #define NAV_AUTO_FILE_IN_FIRST // Uncomment to disable feature // Size of the split for the random (Unit 8 files) #define NAVAUTO_MAX_RANGE_RAND 8 // 8*8= 64 file // Random value methode (byte value) #include "rand.h" #define NAVAUTO_GET_RAND( value ) (value=rand())
Navigation Flat
// Allow modules FLAT mode (nav_flat.c & navfilterflat.c) #define NAVIGATION_MODE_FLAT // Uncomment to disable feature