diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/statusbar.c | 4 | ||||
-rw-r--r-- | apps/recorder/icons.c | 2 | ||||
-rw-r--r-- | apps/recorder/icons.h | 5 |
3 files changed, 6 insertions, 5 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index 6070c77cb3..b5913af9be 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c | |||
@@ -607,7 +607,7 @@ void gui_statusbar_icon_recording_info(struct screen * display) | |||
607 | #endif | 607 | #endif |
608 | #if CONFIG_CODEC != SWCODEC | 608 | #if CONFIG_CODEC != SWCODEC |
609 | int width, height; | 609 | int width, height; |
610 | char* const sample_rate[12] = | 610 | static char* const sample_rate[12] = |
611 | { | 611 | { |
612 | "8", | 612 | "8", |
613 | "11", | 613 | "11", |
@@ -622,7 +622,7 @@ void gui_statusbar_icon_recording_info(struct screen * display) | |||
622 | "88", | 622 | "88", |
623 | "96" | 623 | "96" |
624 | }; | 624 | }; |
625 | char* const bit_rate[9] = | 625 | static char* const bit_rate[9] = |
626 | { | 626 | { |
627 | "Mq0", | 627 | "Mq0", |
628 | "Mq1", | 628 | "Mq1", |
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index 80021b165e..711df633f4 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c | |||
@@ -77,6 +77,7 @@ const unsigned char bitmap_icons_7x8[][7] = | |||
77 | {0x7f,0x04,0x4e,0x5f,0x44,0x38,0x7f} /* Repeat-AB playmode */ | 77 | {0x7f,0x04,0x4e,0x5f,0x44,0x38,0x7f} /* Repeat-AB playmode */ |
78 | }; | 78 | }; |
79 | 79 | ||
80 | #if CONFIG_CODEC == SWCODEC | ||
80 | const unsigned char bitmap_icons_18x8[][18] = | 81 | const unsigned char bitmap_icons_18x8[][18] = |
81 | { | 82 | { |
82 | {0x00, 0x00, 0x00, 0x00,0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x3e, 0x2a, | 83 | {0x00, 0x00, 0x00, 0x00,0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x3e, 0x2a, |
@@ -99,7 +100,6 @@ const unsigned char bitmap_icons_18x8[][18] = | |||
99 | 0x00, 0x1e, 0x20, 0x18, 0x06, 0x00} /* wav */ | 100 | 0x00, 0x1e, 0x20, 0x18, 0x06, 0x00} /* wav */ |
100 | }; | 101 | }; |
101 | 102 | ||
102 | #if CONFIG_CODEC == SWCODEC | ||
103 | const unsigned char bitmap_icons_12x8[][12] = | 103 | const unsigned char bitmap_icons_12x8[][12] = |
104 | { | 104 | { |
105 | {0x00, 0x00, 0x00, 0x00, 0x3e, 0x2a, 0x3e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 8khz */ | 105 | {0x00, 0x00, 0x00, 0x00, 0x3e, 0x2a, 0x3e, 0x00, 0x3e, 0x10, 0x28, 0x00}, /* 8khz */ |
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h index ce7eb5fc92..b4310aa90a 100644 --- a/apps/recorder/icons.h +++ b/apps/recorder/icons.h | |||
@@ -101,7 +101,6 @@ enum icons_12x8 { | |||
101 | Icon_96000, | 101 | Icon_96000, |
102 | Icon12x8Last | 102 | Icon12x8Last |
103 | }; | 103 | }; |
104 | #endif | ||
105 | 104 | ||
106 | enum icons_18x8 { | 105 | enum icons_18x8 { |
107 | Icon_mp364, | 106 | Icon_mp364, |
@@ -115,13 +114,15 @@ enum icons_18x8 { | |||
115 | Icon_wav, | 114 | Icon_wav, |
116 | Icon18x8Last | 115 | Icon18x8Last |
117 | }; | 116 | }; |
117 | #endif | ||
118 | |||
118 | extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5]; | 119 | extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5]; |
119 | extern const unsigned char bitmap_icons_6x8[Icon6x8Last][6]; | 120 | extern const unsigned char bitmap_icons_6x8[Icon6x8Last][6]; |
120 | extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7]; | 121 | extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7]; |
121 | #if CONFIG_CODEC == SWCODEC | 122 | #if CONFIG_CODEC == SWCODEC |
122 | extern const unsigned char bitmap_icons_12x8[Icon12x8Last][12]; | 123 | extern const unsigned char bitmap_icons_12x8[Icon12x8Last][12]; |
123 | #endif | ||
124 | extern const unsigned char bitmap_icons_18x8[Icon18x8Last][18]; | 124 | extern const unsigned char bitmap_icons_18x8[Icon18x8Last][18]; |
125 | #endif | ||
125 | extern const unsigned char bitmap_icon_disk[]; | 126 | extern const unsigned char bitmap_icon_disk[]; |
126 | 127 | ||
127 | #define STATUSBAR_X_POS 0 | 128 | #define STATUSBAR_X_POS 0 |