summaryrefslogtreecommitdiffstats
path: root/apps/playback.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-12-12 20:14:34 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-12-12 20:28:56 -0500
commitc8564f1ca8287eba9220df191d13c949bb49c8ce (patch)
tree7428918a9a6660dd53eefc7bf2be047e9eddccf0 /apps/playback.c
parent838ff9c67d4ade0e0e0ee7132eb933a7c861d384 (diff)
downloadrockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.tar.gz
rockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.tar.bz2
rockbox-c8564f1ca8287eba9220df191d13c949bb49c8ce.zip
Get voice event out of playback.c
Purpose: A step in removing all voice references from playback code and prelude to other changes. Change-Id: Ic3ad7f7a33b979693e18a3456ced37eb1d2281a4
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/playback.c b/apps/playback.c
index dc88a37dc6..25aa1948d6 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -355,14 +355,6 @@ void audio_pcmbuf_sync_position(void);
/**************************************/
-/** --- voice event --- **/
-void playback_voice_event(unsigned short id, void *data)
-{
- (void)id;
- /* Make audio play softly while voice is speaking */
- pcmbuf_soft_mode(*(bool *)data);
-}
-
/** --- MP3Entry --- **/
/* Does the mp3entry have enough info for us to use it? */
@@ -3888,7 +3880,6 @@ void INIT_ATTR playback_init(void)
track_list_init();
buffering_init();
pcmbuf_update_frequency();
- add_event(PLAYBACK_EVENT_VOICE_PLAYING, playback_voice_event);
#ifdef HAVE_CROSSFADE
/* Set crossfade setting for next buffer init which should be about... */
pcmbuf_request_crossfade_enable(global_settings.crossfade);