diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-05-24 20:47:40 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-05-24 20:47:40 -0400 |
commit | 4b97437c23b18cb31e69e623b0dc726c77ef4cd3 (patch) | |
tree | 646b7968d7754bf535136226aa9959ef67364cf9 /apps | |
parent | 9b5d6679b8737ef23311beaa2fb14ffec905014d (diff) | |
download | rockbox-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')
-rw-r--r-- | apps/talk.c | 2 |
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) | |||
626 | { | 626 | { |
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(false, &size); | 629 | voicebuf = audio_get_buffer(true, &size); |
630 | } | 630 | } |
631 | 631 | ||
632 | return !!voicebuf; | 632 | return !!voicebuf; |