From c8564f1ca8287eba9220df191d13c949bb49c8ce Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Tue, 12 Dec 2017 20:14:34 -0500 Subject: 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 --- apps/playback.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'apps/playback.c') diff --git a/apps/playback.c b/apps/playback.c index dc88a37..25aa194 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); -- cgit v1.1