diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-21 22:46:19 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-11-21 23:52:59 -0400 |
commit | efdc6feddbb52a8e274abc8b2c682199590b0c54 (patch) | |
tree | 51a44dfd4f0a18017187c03b3e8756d06b3f677b /apps/filetypes.h | |
parent | 2056878e46321b5d22b814a535c0cc4a5184f5b9 (diff) | |
download | rockbox-efdc6feddbb52a8e274abc8b2c682199590b0c54.tar.gz rockbox-efdc6feddbb52a8e274abc8b2c682199590b0c54.zip |
move inbuilt_filetypes.voiceclip to a separate struct
there are a lot of duplicated voiceclips in the inbuilt_filetypes struct
its already looked up so deduplicate
Change-Id: I7846277d2da308f605d5564e9081d6077e697239
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r-- | apps/filetypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h index 767a26fc1f..fc1022a014 100644 --- a/apps/filetypes.h +++ b/apps/filetypes.h | |||
@@ -53,10 +53,15 @@ | |||
53 | struct filetype { | 53 | struct filetype { |
54 | char* extension; | 54 | char* extension; |
55 | int tree_attr; | 55 | int tree_attr; |
56 | }; | ||
57 | |||
58 | struct fileattr_voice { | ||
59 | int tree_attr; | ||
56 | int voiceclip; | 60 | int voiceclip; |
57 | }; | 61 | }; |
58 | 62 | ||
59 | void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR; | 63 | void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR; |
64 | long tree_filetype_voiceclip(int attr) INIT_ATTR; | ||
60 | 65 | ||
61 | /* init the filetypes structs. | 66 | /* init the filetypes structs. |
62 | uses audio buffer for storage, so call early in init... */ | 67 | uses audio buffer for storage, so call early in init... */ |