From 5076723120ce67a2f7d5e09b352ca7490377f01a Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Wed, 21 Nov 2007 17:21:38 +0000 Subject: [PATCH] Don't do lookahead skipping when stringing voice clips together. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15740 a1c6a512-1295-4272-9138-f99709370657 --- apps/voice_thread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/voice_thread.c b/apps/voice_thread.c index 7ebfb1bcd4..87702339c8 100644 --- a/apps/voice_thread.c +++ b/apps/voice_thread.c @@ -326,7 +326,8 @@ static void voice_thread(void) { /* Make bit buffer use our own buffer */ speex_bits_set_bit_buffer(&td.bits, td.vi.start, td.vi.size); - speex_decoder_ctl(td.st, SPEEX_GET_LOOKAHEAD, &td.lookahead); + /* Don't skip any samples when we're stringing clips together */ + td.lookahead = 0; /* Paranoid check - be sure never to somehow get stuck in a * loop without listening to the queue */