1
0
Fork 0
forked from len0rd/rockbox

filetypes.c clean-up

make icon a voice struct one

Change-Id: I44df788d03e38fe1bca7ea50f32c8dc5941405ab
This commit is contained in:
William Wilgus 2022-11-22 01:41:58 -05:00 committed by William Wilgus
parent dc47bf8ae2
commit 1561b4ec9a
3 changed files with 45 additions and 79 deletions

View file

@ -55,13 +55,8 @@ struct filetype {
int tree_attr;
};
struct fileattr_voice {
int tree_attr;
int voiceclip;
};
void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR;
long tree_filetype_voiceclip(int attr) INIT_ATTR;
long tree_get_filetype_voiceclip(int attr) INIT_ATTR;
/* init the filetypes structs.
uses audio buffer for storage, so call early in init... */