diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-10-29 12:09:15 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-10-29 12:09:15 +0000 |
commit | fd0cc3b2b1302d77f3404861509e75c64fd505af (patch) | |
tree | acdb25b87a549908424e052c04cc323d02b681f4 /apps/wps-display.h | |
parent | 8f11dc00ac1a0a5fe009d1d07d9a1378c3300ba8 (diff) | |
download | rockbox-fd0cc3b2b1302d77f3404861509e75c64fd505af.tar.gz rockbox-fd0cc3b2b1302d77f3404861509e75c64fd505af.zip |
Phil Pertermann's dB peak meter patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2774 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.h')
-rw-r--r-- | apps/wps-display.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/apps/wps-display.h b/apps/wps-display.h index fc40e19136..cda90ffffe 100644 --- a/apps/wps-display.h +++ b/apps/wps-display.h | |||
@@ -22,7 +22,18 @@ | |||
22 | #include <stdbool.h> | 22 | #include <stdbool.h> |
23 | #include "id3.h" | 23 | #include "id3.h" |
24 | 24 | ||
25 | bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_scroll); | 25 | /* constants used in line_type and as refresh_mode for wps_refresh */ |
26 | #define WPS_REFRESH_STATIC 1 /* line doesn't change over time */ | ||
27 | #define WPS_REFRESH_DYNAMIC 2 /* line may change (e.g. time flag) */ | ||
28 | #define WPS_REFRESH_SCROLL 4 /* line scrolls */ | ||
29 | #define WPS_REFRESH_PLAYER_PROGRESS 8 /* line contains a progress bar */ | ||
30 | #define WPS_REFRESH_PEAK_METER 16 /* line contains a peak meter */ | ||
31 | #define WPS_REFRESH_ALL 0xff /* to refresh all line types */ | ||
32 | /* to refresh only those lines that change over time */ | ||
33 | #define WPS_REFRESH_NON_STATIC (WPS_REFRESH_ALL & ~WPS_REFRESH_STATIC & ~WPS_REFRESH_SCROLL) | ||
34 | |||
35 | |||
36 | bool wps_refresh(struct mp3entry* id3, int ffwd_offset, unsigned char refresh_mode); | ||
26 | bool wps_display(struct mp3entry* id3); | 37 | bool wps_display(struct mp3entry* id3); |
27 | bool wps_load(char* file, bool display); | 38 | bool wps_load(char* file, bool display); |
28 | void wps_reset(void); | 39 | void wps_reset(void); |