diff options
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r-- | apps/plugins/splitedit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index db99c5bb77..b76a08cb80 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c | |||
@@ -230,7 +230,7 @@ static void update_icons(void) | |||
230 | LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, | 230 | LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, |
231 | BMPWIDTH, BMPHEIGHT, true); | 231 | BMPWIDTH, BMPHEIGHT, true); |
232 | 232 | ||
233 | #ifdef HAVE_MAS3587F | 233 | #if CONFIG_HWCODEC == MAS3587F |
234 | /* The scale icon */ | 234 | /* The scale icon */ |
235 | rb->lcd_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs()], | 235 | rb->lcd_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs()], |
236 | 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, | 236 | 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, |
@@ -849,7 +849,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, | |||
849 | { | 849 | { |
850 | /* read volume info */ | 850 | /* read volume info */ |
851 | unsigned short volume; | 851 | unsigned short volume; |
852 | #ifdef HAVE_MAS3587F | 852 | #if CONFIG_HWCODEC == MAS3587F |
853 | volume = rb->mas_codec_readreg(0x0c); | 853 | volume = rb->mas_codec_readreg(0x0c); |
854 | volume += rb->mas_codec_readreg(0x0d); | 854 | volume += rb->mas_codec_readreg(0x0d); |
855 | volume = volume / 2; | 855 | volume = volume / 2; |
@@ -1003,7 +1003,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, | |||
1003 | lastx = time_to_xpos(mp3->elapsed); | 1003 | lastx = time_to_xpos(mp3->elapsed); |
1004 | break; | 1004 | break; |
1005 | 1005 | ||
1006 | #ifdef HAVE_MAS3587F | 1006 | #if CONFIG_HWCODEC == MAS3587F |
1007 | case BUTTON_ON | BUTTON_RIGHT: | 1007 | case BUTTON_ON | BUTTON_RIGHT: |
1008 | rb->mpeg_set_pitch(1500); | 1008 | rb->mpeg_set_pitch(1500); |
1009 | splitedit_invalidate_osci(); | 1009 | splitedit_invalidate_osci(); |
@@ -1060,7 +1060,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, | |||
1060 | break; | 1060 | break; |
1061 | 1061 | ||
1062 | case BUTTON_F3: | 1062 | case BUTTON_F3: |
1063 | #ifdef HAVE_MAS3587F | 1063 | #if CONFIG_HWCODEC == MAS3587F |
1064 | rb->peak_meter_set_use_dbfs(rb->peak_meter_get_use_dbfs() +1); | 1064 | rb->peak_meter_set_use_dbfs(rb->peak_meter_get_use_dbfs() +1); |
1065 | #endif | 1065 | #endif |
1066 | splitedit_invalidate_osci(); | 1066 | splitedit_invalidate_osci(); |