[chuck-users] sndbuf.valueAtPos
Charlls Quarra
charlls_quarra at yahoo.com.ar
Mon Feb 13 17:22:08 EST 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20060213/d950d37c/attachment.htm
More information about the chuck-users
mailing list