summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2006-09-12 20:32:06 +0000
committerMagnus Holmgren <magnushol@gmail.com>2006-09-12 20:32:06 +0000
commit1ecdbcced294df72f63cd00574c7f96bd987c232 (patch)
treed269c2715a8d77c0f0bd85a5156ea2be44fa77cf /apps
parent98f78870f8d25cf235b60ec8ad7960704839e223 (diff)
downloadrockbox-1ecdbcced294df72f63cd00574c7f96bd987c232.tar.gz
rockbox-1ecdbcced294df72f63cd00574c7f96bd987c232.zip
Save a few bytes on hwcodec targets...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10937 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/statusbar.c4
-rw-r--r--apps/recorder/icons.c2
-rw-r--r--apps/recorder/icons.h5
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
80const unsigned char bitmap_icons_18x8[][18] = 81const 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
103const unsigned char bitmap_icons_12x8[][12] = 103const 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
106enum icons_18x8 { 105enum 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
118extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5]; 119extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5];
119extern const unsigned char bitmap_icons_6x8[Icon6x8Last][6]; 120extern const unsigned char bitmap_icons_6x8[Icon6x8Last][6];
120extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7]; 121extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7];
121#if CONFIG_CODEC == SWCODEC 122#if CONFIG_CODEC == SWCODEC
122extern const unsigned char bitmap_icons_12x8[Icon12x8Last][12]; 123extern const unsigned char bitmap_icons_12x8[Icon12x8Last][12];
123#endif
124extern const unsigned char bitmap_icons_18x8[Icon18x8Last][18]; 124extern const unsigned char bitmap_icons_18x8[Icon18x8Last][18];
125#endif
125extern const unsigned char bitmap_icon_disk[]; 126extern const unsigned char bitmap_icon_disk[];
126 127
127#define STATUSBAR_X_POS 0 128#define STATUSBAR_X_POS 0