···355355356356/**************************************/
357357358358-/** --- voice event --- **/
359359-void playback_voice_event(unsigned short id, void *data)
360360-{
361361- (void)id;
362362- /* Make audio play softly while voice is speaking */
363363- pcmbuf_soft_mode(*(bool *)data);
364364-}
365365-366358/** --- MP3Entry --- **/
367359368360/* Does the mp3entry have enough info for us to use it? */
···38883880 track_list_init();
38893881 buffering_init();
38903882 pcmbuf_update_frequency();
38913891- add_event(PLAYBACK_EVENT_VOICE_PLAYING, playback_voice_event);
38923883#ifdef HAVE_CROSSFADE
38933884 /* Set crossfade setting for next buffer init which should be about... */
38943885 pcmbuf_request_crossfade_enable(global_settings.crossfade);
···5151#define EVENT_CLASS_GUI 0x0800
5252#define EVENT_CLASS_RECORDING 0x1000
5353#define EVENT_CLASS_LCD 0x2000
5454+#define EVENT_CLASS_VOICE 0x4000
54555556/**
5657 * Subscribe to an event with a simple callback. The callback will be called