summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-05-24 20:59:05 -0400
committerMichael Sevakis <jethead71@rockbox.org>2012-05-24 20:59:05 -0400
commit652b39b9e1ee324825e1a7d6b6c7feb3f4d9e880 (patch)
tree44cf4ea17a323a1ce1de2f8846bed5a1d47675f5 /apps/talk.c
parent4b97437c23b18cb31e69e623b0dc726c77ef4cd3 (diff)
More snafu fix. Need a couple more patchups for now.
Must restore talk buffer explicitly when not taking it and promote the buffer state. Change-Id: Ia0341ede05837e6e94885a9ad62460c415ec6f00
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)
size_t size;
audio_restore_playback(AUDIO_WANT_VOICE);
voicebuf = audio_get_buffer(true, &size);
+ audio_get_buffer(false, &size);
}
return !!voicebuf;