summaryrefslogtreecommitdiffstats
path: root/apps/talk.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-05-24 20:47:40 -0400
committerMichael Sevakis <jethead71@rockbox.org>2012-05-24 20:47:40 -0400
commit4b97437c23b18cb31e69e623b0dc726c77ef4cd3 (patch)
tree646b7968d7754bf535136226aa9959ef67364cf9 /apps/talk.c
parent9b5d6679b8737ef23311beaa2fb14ffec905014d (diff)
downloadrockbox-4b97437c23b18cb31e69e623b0dc726c77ef4cd3.tar.gz
rockbox-4b97437c23b18cb31e69e623b0dc726c77ef4cd3.zip
Correct snafu in talk.c
When allocating the voice buffer, it's supposed to start at the beginning of the audio buffer, not at the end of the voice buffer. ;-D Might clear up a thing or two. Change-Id: I94796ff21090bcc56813cdc569957a1a9178abcd
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/talk.c b/apps/talk.c
index f3ca967d3a..3634ecfe08 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -626,7 +626,7 @@ static bool restore_state(void)
{
size_t size;
audio_restore_playback(AUDIO_WANT_VOICE);
- voicebuf = audio_get_buffer(false, &size);
+ voicebuf = audio_get_buffer(true, &size);
}
return !!voicebuf;