diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/icons.c | 57 | ||||
-rw-r--r-- | apps/recorder/icons.h | 21 |
2 files changed, 58 insertions, 20 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index fc271e890f..80021b165e 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c | |||
@@ -79,27 +79,44 @@ const unsigned char bitmap_icons_7x8[][7] = | |||
79 | 79 | ||
80 | const unsigned char bitmap_icons_18x8[][18] = | 80 | const unsigned char bitmap_icons_18x8[][18] = |
81 | { | 81 | { |
82 | {0x00, 0x00, 0x00, 0x00, 0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x00, 0x1c, 0x2a, | 82 | {0x00, 0x00, 0x00, 0x00,0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x3e, 0x2a, |
83 | 0x12, 0x00, 0x1e, 0x30, 0x10}, /* mp3 64kbps */ | 83 | 0x3a, 0x00, 0x0e, 0x08, 0x3e, 0x00}, /* mp3 64kbps */ |
84 | {0x00, 0x00, 0x00, 0x00, 0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x00, 0x04, 0x0a, | 84 | {0x00, 0x00, 0x00, 0x00,0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x0e, 0x0a, |
85 | 0x3e, 0x00, 0x1c, 0x2a, 0x12}, /* mp3 96kbps */ | 85 | 0x3e, 0x00, 0x3e, 0x2a, 0x3a, 0x00}, /* mp3 96kbps */ |
86 | {0x00, 0x00, 0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x00, 0x3e, 0x00, 0x32, 0x2a, | 86 | {0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x24, 0x3e, 0x20, 0x00, 0x3a, 0x2a, |
87 | 0x24, 0x00, 0x14, 0x2a, 0x14}, /* mp3 128kbps */ | 87 | 0x2e, 0x00, 0x3e, 0x2a, 0x3e, 0x00}, /* mp3 128kbps */ |
88 | {0x00, 0x00, 0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x00, 0x3e, 0x00, 0x1c, 0x2a, | 88 | {0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x24, 0x3e, 0x20, 0x00, 0x3e, 0x2a, |
89 | 0x12, 0x00, 0x1c, 0x22, 0x1c}, /* mp3 160kbps */ | 89 | 0x3a, 0x00, 0x3e, 0x22, 0x3e, 0x00}, /* mp3 160kbps */ |
90 | {0x00, 0x00, 0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x00, 0x3e, 0x00, 0x04, 0x0a, | 90 | {0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x24, 0x3e, 0x20, 0x00, 0x0e, 0x0a, |
91 | 0x3e, 0x00, 0x32, 0x2a, 0x24}, /* mp3 192kbps */ | 91 | 0x3e, 0x00, 0x3a, 0x2a, 0x2e, 0x00}, /* mp3 192kbps */ |
92 | {0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x00, 0x32, 0x2a, 0x24, 0x00, 0x32, 0x2a, | 92 | {0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x3a, 0x2a, 0x2e, 0x00, 0x3a, 0x2a, |
93 | 0x24, 0x00, 0x1e, 0x30, 0x10}, /* mp3 224kbps */ | 93 | 0x2e, 0x00, 0x0e, 0x08, 0x3e, 0x00}, /* mp3 224kbps */ |
94 | {0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x00, 0x22, 0x2a, 0x14, 0x00, 0x32, 0x2a, | 94 | {0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x22, 0x2a, 0x36, 0x00, 0x3a, 0x2a, |
95 | 0x24, 0x00, 0x1c, 0x22, 0x1c}, /* mp3 320kbps */ | 95 | 0x2e, 0x00, 0x3e, 0x22, 0x3e, 0x00}, /* mp3 320kbps */ |
96 | {0x00, 0x00, 0x00, 0x00, 0x1e, 0x20, 0x18, 0x20, 0x1e, 0x00, 0x1e, 0x20, 0x18, | 96 | {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0x1e, 0x20, 0x18, 0x20, 0x1e, |
97 | 0x06, 0x00, 0x00, 0x00, 0x00}, /* wv */ | 97 | 0x00, 0x1e, 0x20, 0x18, 0x06, 0x00}, /* wv */ |
98 | {0x00, 0x1e, 0x20, 0x18, 0x20, 0x1e, 0x00, 0x3c, 0x12, 0x12, 0x3c, 0x00, 0x1e, | 98 | {0x00, 0x00, 0x1e, 0x20, 0x18, 0x20, 0x1e, 0x00, 0x3c, 0x12, 0x12, 0x3c, |
99 | 0x20, 0x18, 0x06, 0x00, 0x00} /* wav */ | 99 | 0x00, 0x1e, 0x20, 0x18, 0x06, 0x00} /* wav */ |
100 | }; | 100 | }; |
101 | 101 | ||
102 | 102 | #if CONFIG_CODEC == SWCODEC | |
103 | const unsigned char bitmap_icons_12x8[][12] = | ||
104 | { | ||
105 | {0x00, 0x00, 0x00, 0x00, 0x3e, 0x2a, 0x3e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 8khz */ | ||
106 | {0x24, 0x3e, 0x20, 0x00, 0x24, 0x3e, 0x20, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 11khz */ | ||
107 | {0x24, 0x3e, 0x20, 0x00, 0x3a, 0x2a, 0x2e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 12khz */ | ||
108 | {0x24, 0x3e, 0x20, 0x00, 0x3e, 0x2a, 0x3a, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 16khz */ | ||
109 | {0x3a, 0x2a, 0x2e, 0x00, 0x3a, 0x2a, 0x2e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 22khz */ | ||
110 | {0x3a, 0x2a, 0x2e, 0x00, 0x0e, 0x08, 0x3e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 24khz */ | ||
111 | {0x22, 0x2a, 0x36, 0x00, 0x3a, 0x2a, 0x2e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 32khz */ | ||
112 | {0x0e, 0x08, 0x3e, 0x00, 0x0e, 0x08, 0x3e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 44.1khz */ | ||
113 | {0x0e, 0x08, 0x3e, 0x00, 0x3e, 0x2a, 0x3e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 48khz */ | ||
114 | {0x3e, 0x2a, 0x3a, 0x00, 0x0e, 0x08, 0x3e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 64khz */ | ||
115 | {0x3e, 0x2a, 0x3e, 0x00, 0x3e, 0x2a, 0x3e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 88.2khz */ | ||
116 | {0x0e, 0x0a, 0x3e, 0x00, 0x3e, 0x2a, 0x3a, 0x00, 0x3e, 0x10, 0x28, 0x00} /* 96khz */ | ||
117 | }; | ||
118 | #endif | ||
119 | |||
103 | /* Disk/MMC activity */ | 120 | /* Disk/MMC activity */ |
104 | const unsigned char bitmap_icon_disk[12] = | 121 | const unsigned char bitmap_icon_disk[12] = |
105 | #ifdef HAVE_MMC | 122 | #ifdef HAVE_MMC |
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h index 5e7f157c75..ce7eb5fc92 100644 --- a/apps/recorder/icons.h +++ b/apps/recorder/icons.h | |||
@@ -85,6 +85,24 @@ enum icons_7x8 { | |||
85 | Icon7x8Last | 85 | Icon7x8Last |
86 | }; | 86 | }; |
87 | 87 | ||
88 | #if CONFIG_CODEC == SWCODEC | ||
89 | enum icons_12x8 { | ||
90 | Icon_8000, | ||
91 | Icon_11025, | ||
92 | Icon_12000, | ||
93 | Icon_16000, | ||
94 | Icon_22050, | ||
95 | Icon_24000, | ||
96 | Icon_32000, | ||
97 | Icon_44100, | ||
98 | Icon_48000, | ||
99 | Icon_64000, | ||
100 | Icon_88200, | ||
101 | Icon_96000, | ||
102 | Icon12x8Last | ||
103 | }; | ||
104 | #endif | ||
105 | |||
88 | enum icons_18x8 { | 106 | enum icons_18x8 { |
89 | Icon_mp364, | 107 | Icon_mp364, |
90 | Icon_mp396, | 108 | Icon_mp396, |
@@ -100,6 +118,9 @@ enum icons_18x8 { | |||
100 | extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5]; | 118 | extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5]; |
101 | extern const unsigned char bitmap_icons_6x8[Icon6x8Last][6]; | 119 | extern const unsigned char bitmap_icons_6x8[Icon6x8Last][6]; |
102 | extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7]; | 120 | extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7]; |
121 | #if CONFIG_CODEC == SWCODEC | ||
122 | extern const unsigned char bitmap_icons_12x8[Icon12x8Last][12]; | ||
123 | #endif | ||
103 | extern const unsigned char bitmap_icons_18x8[Icon18x8Last][18]; | 124 | extern const unsigned char bitmap_icons_18x8[Icon18x8Last][18]; |
104 | extern const unsigned char bitmap_icon_disk[]; | 125 | extern const unsigned char bitmap_icon_disk[]; |
105 | 126 | ||