summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-07-08 22:31:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-07-08 22:31:15 +0000
commit5663e1cd0afc62e212c43c8fb374c791d554fb1b (patch)
tree488e7cc83aaf2ee61184fad46a3b4891a95b0f13 /apps/gui/wps.c
parentf1a5a25dac4c61bf178ee5361998d205bb71b2d1 (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.c3
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;
}