diff options
Diffstat (limited to 'apps/wps.c')
-rw-r--r-- | apps/wps.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/wps.c b/apps/wps.c index 784289ada4..84f862de9c 100644 --- a/apps/wps.c +++ b/apps/wps.c | |||
@@ -64,6 +64,9 @@ static struct mp3entry* id3 = NULL; | |||
64 | static struct mp3entry* nid3 = NULL; | 64 | static struct mp3entry* nid3 = NULL; |
65 | static char current_track_path[MAX_PATH+1]; | 65 | static char current_track_path[MAX_PATH+1]; |
66 | 66 | ||
67 | void audio_next_dir(void); | ||
68 | void audio_prev_dir(void); | ||
69 | |||
67 | /* set volume | 70 | /* set volume |
68 | return true if screen restore is needed | 71 | return true if screen restore is needed |
69 | return false otherwise | 72 | return false otherwise |
@@ -601,6 +604,17 @@ long wps_show(void) | |||
601 | } | 604 | } |
602 | break; | 605 | break; |
603 | 606 | ||
607 | #ifdef WPS_RC_NEXT_DIR | ||
608 | case WPS_RC_NEXT_DIR: | ||
609 | audio_next_dir(); | ||
610 | break; | ||
611 | #endif | ||
612 | #ifdef WPS_RC_PREV_DIR | ||
613 | case WPS_RC_PREV_DIR: | ||
614 | audio_prev_dir(); | ||
615 | break; | ||
616 | #endif | ||
617 | |||
604 | /* next */ | 618 | /* next */ |
605 | case WPS_NEXT: | 619 | case WPS_NEXT: |
606 | #ifdef WPS_NEXT_PRE | 620 | #ifdef WPS_NEXT_PRE |