diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-08-29 20:07:17 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-08-29 20:07:17 +0000 |
| commit | 99a0598c284471342fcda1fdcba90d4b666bfbb3 (patch) | |
| tree | 83cc502095e87277de770456498d2de6cf8f473b /apps/plugins/splitedit.c | |
| parent | 89a8ca4408c3ea34464898b0ce52a0d8351fa323 (diff) | |
| download | rockbox-99a0598c284471342fcda1fdcba90d4b666bfbb3.zip rockbox-99a0598c284471342fcda1fdcba90d4b666bfbb3.tar.gz rockbox-99a0598c284471342fcda1fdcba90d4b666bfbb3.tar.bz2 rockbox-99a0598c284471342fcda1fdcba90d4b666bfbb3.tar.xz | |
Major peakmeter rework: * Changed set/get functions for dbfs mode to bool type. * Removed performance setting, leaving (slightly adapted) high performance mode only. * Refresh rate is always 20 Hz now. * Readout doesn't do an extra (hidden) peek, should allow for slightly better clip detection. * Brought back high performance peakmeter for recording. Peakmeter stops hogging the CPU when the disk is spinning; this is enough to avoid the performance problem when saving data. * Optimisations, code cleanup and code policeing. * (iriver) Reduced CPU load of peakmeter by not calculating excessive overlaps. ** Bumped config block version, so save your settings before upgrading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7415 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/splitedit.c')
| -rw-r--r-- | apps/plugins/splitedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index 142590d..9317419 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c @@ -271,7 +271,7 @@ static void update_icons(void) #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) /* The scale icon */ - rb->lcd_mono_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs()], + rb->lcd_mono_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs() ? 1 : 0], 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, BMPWIDTH, BMPHEIGHT); #else @@ -1134,7 +1134,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, case SPLITEDIT_SCALE: #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) - rb->peak_meter_set_use_dbfs(rb->peak_meter_get_use_dbfs() +1); + rb->peak_meter_set_use_dbfs(!rb->peak_meter_get_use_dbfs()); #endif splitedit_invalidate_osci(); update_icons(); |