summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c1
-rw-r--r--apps/voice_thread.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 9cc29ea2d8..5e3e4d008d 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -347,6 +347,7 @@ void audio_pcmbuf_sync_position(void);
347/** --- voice event --- **/ 347/** --- voice event --- **/
348void playback_voice_event(void *data) 348void playback_voice_event(void *data)
349{ 349{
350 /* Make audio play softly while voice is speaking */
350 pcmbuf_soft_mode(*(bool *)data); 351 pcmbuf_soft_mode(*(bool *)data);
351} 352}
352 353
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 1fb8c15d1a..46471c0d9b 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -360,8 +360,6 @@ static enum voice_state voice_message(struct voice_thread_data *td)
360 360
361 if (quiet_counter <= 0) 361 if (quiet_counter <= 0)
362 { 362 {
363 /* Make audio play more softly and set delay to return to normal
364 playback level */
365 voice_playing = true; 363 voice_playing = true;
366 send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing); 364 send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing);
367 } 365 }