Hi,
I think a way to look ahead buffer values ahead could help solve a few issues, like avoid popping when a buffer jump is done;
while (true)
...
if (must_jump)
{
if ( std.fabs( buf.last() - buf.valueAtPos( toPos ) )< 0.01 )
{
toPos => buf.pos;
false => must_jump;
}
}
...
100::ms => now;
¡Llamá a todo el mundo con las mejores tarifas!
Comprá tus tarjetas de llamadas en tres simples pasos
en Yahoo! Telefonía