1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Sevakis 2012-05-24 20:47:40 -04:00
parent 9b5d6679b8
commit 4b97437c23

View file

@ -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;