diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2006-09-12 20:32:06 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2006-09-12 20:32:06 +0000 |
commit | 1ecdbcced294df72f63cd00574c7f96bd987c232 (patch) | |
tree | d269c2715a8d77c0f0bd85a5156ea2be44fa77cf /apps | |
parent | 98f78870f8d25cf235b60ec8ad7960704839e223 (diff) |
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.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) #endif #if CONFIG_CODEC != SWCODEC int width, height; - char* const sample_rate[12] = + static char* const sample_rate[12] = { "8", "11", @@ -622,7 +622,7 @@ void gui_statusbar_icon_recording_info(struct screen * display) "88", "96" }; - char* const bit_rate[9] = + static char* const bit_rate[9] = { "Mq0", "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] = {0x7f,0x04,0x4e,0x5f,0x44,0x38,0x7f} /* Repeat-AB playmode */ }; +#if CONFIG_CODEC == SWCODEC const unsigned char bitmap_icons_18x8[][18] = { {0x00, 0x00, 0x00, 0x00,0x3e, 0x04, 0x08, 0x04, 0x3e, 0x00, 0x3e, 0x2a, @@ -99,7 +100,6 @@ const unsigned char bitmap_icons_18x8[][18] = 0x00, 0x1e, 0x20, 0x18, 0x06, 0x00} /* wav */ }; -#if CONFIG_CODEC == SWCODEC const unsigned char bitmap_icons_12x8[][12] = { {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 { Icon_96000, Icon12x8Last }; -#endif enum icons_18x8 { Icon_mp364, @@ -115,13 +114,15 @@ enum icons_18x8 { Icon_wav, Icon18x8Last }; +#endif + extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5]; extern const unsigned char bitmap_icons_6x8[Icon6x8Last][6]; extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7]; #if CONFIG_CODEC == SWCODEC extern const unsigned char bitmap_icons_12x8[Icon12x8Last][12]; -#endif extern const unsigned char bitmap_icons_18x8[Icon18x8Last][18]; +#endif extern const unsigned char bitmap_icon_disk[]; #define STATUSBAR_X_POS 0 |