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
This commit is contained in:
parent
d251d182df
commit
5076723120
1 changed files with 2 additions and 1 deletions
|
@ -326,7 +326,8 @@ static void voice_thread(void)
|
||||||
{
|
{
|
||||||
/* Make bit buffer use our own buffer */
|
/* Make bit buffer use our own buffer */
|
||||||
speex_bits_set_bit_buffer(&td.bits, td.vi.start, td.vi.size);
|
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
|
/* Paranoid check - be sure never to somehow get stuck in a
|
||||||
* loop without listening to the queue */
|
* loop without listening to the queue */
|
||||||
|
|
Loading…
Reference in a new issue