summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/talk.c b/apps/talk.c
index 3634ecfe08..675cfa0966 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -627,6 +627,7 @@ static bool restore_state(void)
627 size_t size; 627 size_t size;
628 audio_restore_playback(AUDIO_WANT_VOICE); 628 audio_restore_playback(AUDIO_WANT_VOICE);
629 voicebuf = audio_get_buffer(true, &size); 629 voicebuf = audio_get_buffer(true, &size);
630 audio_get_buffer(false, &size);
630 } 631 }
631 632
632 return !!voicebuf; 633 return !!voicebuf;