forked from len0rd/rockbox
Save a few bytes on hwcodec targets...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10937 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
98f78870f8
commit
1ecdbcced2
3 changed files with 6 additions and 5 deletions
|
@ -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",
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue