diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-07-08 22:31:15 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-07-08 22:31:15 +0000 |
commit | 5663e1cd0afc62e212c43c8fb374c791d554fb1b (patch) | |
tree | 488e7cc83aaf2ee61184fad46a3b4891a95b0f13 /apps/gui/wps.c | |
parent | f1a5a25dac4c61bf178ee5361998d205bb71b2d1 (diff) |
Have mpegplayer use the mixer (the playback channel, since it's mutually exclusive to audio playback) so the clicks and skip beep can be used according to user settings. Introduce some system sound functions to make easier playing event sounds from various places and convert files calling 'beep_play' to use 'system_sound_play' and 'keyclick_click'. Event sound could be become themeable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30130 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index cbf003adbd..80522d04bd 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -577,8 +577,7 @@ static void play_hop(int direction) else if (direction == 1 && step >= remaining) { #if CONFIG_CODEC == SWCODEC - if(global_settings.beep) - beep_play(1000, 150, 1500*global_settings.beep); + system_sound_play(SOUND_TRACK_NO_MORE); #endif return; } |