Macros | |
#define | FS_ASCII false |
The explorer may support either the ASCII or the UNICODE string format, or both. More... | |
#define | FS_FAT_12 true |
Supported FATs (true or false ). More... | |
#define | FS_FAT_16 true |
#define | FS_FAT_32 true |
#define | FS_LEVEL_FEATURES (FSFEATURE_READ | FSFEATURE_WRITE_COMPLET) |
Level of features. More... | |
#define | FS_MULTI_PARTITION false |
The navigator may support only the first partition (false ), or multiple partitions (true ). More... | |
#define | FS_NAV_AUTOMATIC_NBFILE DISABLE |
#define | FS_NB_CACHE_CLUSLIST 3 |
Number of caches used to store a cluster list of files (interesting in case of many `open file'). More... | |
#define | FS_NB_NAVIGATOR 4 |
Maximal number of simultaneous navigators. More... | |
#define | FS_UNICODE true |
#define | LIB_CTRLACCESS "ctrl_access.h" |
#define | LIB_MEM <string.h> |
Include files and compile options (do not change these settings). More... | |
#define | MAX_CONFIG_FILE_SIZE 110 |
Maximal size of configuration file. More... | |
#define | MAX_FILE_PATH_LENGTH 30 |
Maximal number of characters in file path. More... | |
#define | PLAYLIST_USE_NON_BLOCKING_FUNCTION_SET false |
This define enables or disables the use of non-blocking functions for playlist management. More... | |
Navigator Affiliations | |
Define the affiliations of the navigators.
| |
#define | FS_NAV_ID_FILESYSTEM 0 |
Navigator used to explore disks. More... | |
#define | FS_NAV_ID_AUDIO 1 |
Navigator used to manage song file (navigation + open file) More... | |
#define | FS_NAV_ID_PLAYLIST 2 |
Navigator used to open the file playlist. More... | |
#define | FS_NAV_ID_COVER 3 |
#define | FS_NAV_ID_COPYFILE 2 |
The explorer uses the navigator ID 2 to open the `copy file' and the ID 0 to open the `paste file'. More... | |
#define | FS_NAV_ID_COVER 3 |
Playlist Configuration | |
#define | PLAYLIST_BUF_ALLOC(size) malloc( size ) |
#define | PLAYLIST_BUF_FREE(buf) free( buf ) |
#define | PL_READONLY true |
Playlist mode read only (modification impossible) More... | |
Navigation Automatic Configuration | |
#define | NAVAUTO_MAX_RANGE_RAND 8 |
#define | NAVAUTO_GET_RAND() (Get_sys_count()) |
#define | NAV_AUTO_FILE_IN_FIRST 1 |
#define | NAVAUTO_SPEED_OPTIMIZATION false |
Enable speed optimization. More... | |
#define | NAVAUTO_SPEED_OPTIMIZATION_LEVEL 8 |
It defines the number of level in the tree architecture that will be impacted by this optimization. More... | |
Cache feature | |
This define enables the use of a 1-entry-cache for some specific mass storage functions. | |
#define | AI_USB_MS_USE_CACHE false |
#define AI_USB_MS_USE_CACHE false |
#define FS_ASCII false |
The explorer may support either the ASCII or the UNICODE string format, or both.
#define FS_FAT_12 true |
Supported FATs (true
or false
).
#define FS_FAT_16 true |
#define FS_FAT_32 true |
#define FS_LEVEL_FEATURES (FSFEATURE_READ | FSFEATURE_WRITE_COMPLET) |
Level of features.
Select among:
FSFEATURE_READ:
All read functions.FSFEATURE_WRITE:
nav_file_copy(), nav_file_paste(), nav_file_del(), file_create(), file_open(MODE_WRITE), file_write(), file_putc().FSFEATURE_WRITE_COMPLET:
FSFEATURE_WRITE functions and nav_drive_format(), nav_dir_make(), nav_file_rename(), nav_file_dateset(), nav_file_attributset().FSFEATURE_ALL:
All functions. #define FS_MULTI_PARTITION false |
The navigator may support only the first partition (false
), or multiple partitions (true
).
#define FS_NAV_AUTOMATIC_NBFILE DISABLE |
#define FS_NAV_ID_AUDIO 1 |
Navigator used to manage song file (navigation + open file)
Referenced by ai_usb_ms_audio_context_restore(), ai_usb_ms_audio_context_save(), ai_usb_ms_audio_ctrl_resume(), ai_usb_ms_audio_nav_eof_occur(), ai_usb_ms_audio_nav_expmode_get(), ai_usb_ms_audio_nav_expmode_set(), ai_usb_ms_audio_nav_file_info_duration(), ai_usb_ms_audio_nav_file_info_image(), ai_usb_ms_audio_nav_file_info_track(), ai_usb_ms_audio_nav_file_info_type(), ai_usb_ms_audio_nav_file_info_version(), ai_usb_ms_audio_nav_file_info_year(), ai_usb_ms_audio_nav_getname(), ai_usb_ms_audio_nav_getpos(), ai_usb_ms_audio_nav_mov(), ai_usb_ms_audio_nav_nb(), ai_usb_ms_audio_nav_playfile(), ai_usb_ms_audio_nav_setpos(), ai_usb_ms_audio_nav_shuffle_get(), ai_usb_ms_audio_nav_shuffle_set(), ai_usb_ms_nav_getplayfile(), ai_usb_ms_song_read_info(), ai_usb_ms_specific_async_cmd_task(), ai_usb_ms_specific_audio_nav_get_folder_name(), ai_usb_ms_specific_audio_nav_playlist_play_link(), play_wav(), and wav_file_get_data().
#define FS_NAV_ID_COPYFILE 2 |
The explorer uses the navigator ID 2 to open the `copy file' and the ID 0 to open the `paste file'.
Referenced by nav_file_copy(), nav_file_paste_start(), and nav_file_paste_state().
#define FS_NAV_ID_COVER 3 |
#define FS_NAV_ID_COVER 3 |
#define FS_NAV_ID_FILESYSTEM 0 |
Navigator used to explore disks.
Referenced by ai_usb_ms_audio_ctrl_resume(), ai_usb_ms_audio_ctrl_status(), ai_usb_ms_audio_nav_file_info_duration(), ai_usb_ms_audio_nav_file_info_track(), ai_usb_ms_audio_nav_file_info_version(), ai_usb_ms_audio_nav_file_info_year(), ai_usb_ms_audio_nav_playfile(), ai_usb_ms_init_drive(), ai_usb_ms_nav_dir_cd(), ai_usb_ms_nav_dir_gotoparent(), ai_usb_ms_nav_dir_name(), ai_usb_ms_nav_dir_nb(), ai_usb_ms_nav_dir_root(), ai_usb_ms_nav_drive_free_space(), ai_usb_ms_nav_drive_get(), ai_usb_ms_nav_drive_mount(), ai_usb_ms_nav_drive_nb(), ai_usb_ms_nav_drive_total_space(), ai_usb_ms_nav_file_goto(), ai_usb_ms_nav_file_info_album(), ai_usb_ms_nav_file_info_artist(), ai_usb_ms_nav_file_info_duration(), ai_usb_ms_nav_file_info_genre(), ai_usb_ms_nav_file_info_image(), ai_usb_ms_nav_file_info_title(), ai_usb_ms_nav_file_info_track(), ai_usb_ms_nav_file_info_type(), ai_usb_ms_nav_file_info_version(), ai_usb_ms_nav_file_info_year(), ai_usb_ms_nav_file_isdir(), ai_usb_ms_nav_file_name(), ai_usb_ms_nav_file_nb(), ai_usb_ms_nav_file_next(), ai_usb_ms_nav_file_pos(), ai_usb_ms_nav_file_previous(), ai_usb_ms_nav_getplayfile(), ai_usb_ms_nav_playlist_nb(), ai_usb_ms_song_read_info(), ai_usb_ms_specific_async_cmd_task(), ai_usb_ms_specific_audio_nav_playlist_play_link(), ai_usb_ms_specific_nav_get_next_playlist_pos(), and ai_usb_ms_specific_nav_getplaylistfile().
#define FS_NAV_ID_PLAYLIST 2 |
Navigator used to open the file playlist.
Referenced by ai_usb_ms_specific_async_cmd_task(), ai_usb_ms_specific_nav_getplaylistfile(), ai_usb_ms_specific_restore_navigator(), ai_usb_ms_specific_save_navigator(), pl_main_close(), pl_main_open(), pl_main_readline(), pl_nav_readentry(), and pl_nav_setpos().
#define FS_NB_CACHE_CLUSLIST 3 |
Number of caches used to store a cluster list of files (interesting in case of many `open file').
In player mode, 1 is OK (shall be > 0).
Referenced by fat_cache_clusterlist_reset(), fat_cache_clusterlist_update_read(), fat_cache_clusterlist_update_select(), and fat_cache_clusterlist_update_start().
#define FS_NB_NAVIGATOR 4 |
Maximal number of simultaneous navigators.
Referenced by fat_check_device(), fat_check_nav_access_file(), nav_exit(), nav_reset(), and nav_select().
#define FS_UNICODE true |
Referenced by pl_main_readline().
#define LIB_CTRLACCESS "ctrl_access.h" |
#define LIB_MEM <string.h> |
Include files and compile options (do not change these settings).
#define MAX_CONFIG_FILE_SIZE 110 |
Maximal size of configuration file.
#define MAX_FILE_PATH_LENGTH 30 |
Maximal number of characters in file path.
#define NAV_AUTO_FILE_IN_FIRST 1 |
#define NAVAUTO_GET_RAND | ( | ) | (Get_sys_count()) |
Referenced by navauto_rand_choose().
#define NAVAUTO_MAX_RANGE_RAND 8 |
#define NAVAUTO_SPEED_OPTIMIZATION false |
Enable speed optimization.
#define NAVAUTO_SPEED_OPTIMIZATION_LEVEL 8 |
It defines the number of level in the tree architecture that will be impacted by this optimization.
If this number is equal to 1, then only the 1st folder level will be impacted by this optimization.
In counter part, the higher this number is, the more RAM memory it will need.
Referenced by navauto_mov_explorer_enterdir(), and navauto_mov_explorer_updir().
#define PL_READONLY true |
Playlist mode read only (modification impossible)
#define PLAYLIST_BUF_ALLOC | ( | size | ) | malloc( size ) |
Referenced by pl_main_close(), and pl_main_readline().
#define PLAYLIST_BUF_FREE | ( | buf | ) | free( buf ) |
Referenced by pl_main_close(), and pl_nav_setpos().
#define PLAYLIST_USE_NON_BLOCKING_FUNCTION_SET false |
This define enables or disables the use of non-blocking functions for playlist management.