diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-11-21 17:21:38 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-11-21 17:21:38 +0000 |
commit | 5076723120ce67a2f7d5e09b352ca7490377f01a (patch) | |
tree | d3acbff607a6ba560e3441d2219307735ca7317c | |
parent | d251d182df584ce9de2d6964c620b70e7aaffe0a (diff) | |
download | rockbox-5076723120ce67a2f7d5e09b352ca7490377f01a.tar.gz rockbox-5076723120ce67a2f7d5e09b352ca7490377f01a.zip |
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
-rw-r--r-- | apps/voice_thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
326 | { | 326 | { |
327 | /* Make bit buffer use our own buffer */ | 327 | /* Make bit buffer use our own buffer */ |
328 | speex_bits_set_bit_buffer(&td.bits, td.vi.start, td.vi.size); | 328 | speex_bits_set_bit_buffer(&td.bits, td.vi.start, td.vi.size); |
329 | speex_decoder_ctl(td.st, SPEEX_GET_LOOKAHEAD, &td.lookahead); | 329 | /* Don't skip any samples when we're stringing clips together */ |
330 | td.lookahead = 0; | ||
330 | 331 | ||
331 | /* Paranoid check - be sure never to somehow get stuck in a | 332 | /* Paranoid check - be sure never to somehow get stuck in a |
332 | * loop without listening to the queue */ | 333 | * loop without listening to the queue */ |