]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
osx_write.c: fix pre_select()
authorAndre Noll <maan@congo.fml.local>
Wed, 23 Aug 2006 18:37:07 +0000 (20:37 +0200)
committerAndre Noll <maan@congo.fml.local>
Wed, 23 Aug 2006 18:37:07 +0000 (20:37 +0200)
The old code was just a quick hack. Good enough for para_write, but
it had no chance to work for para_audiod. Fix it by looking at the
number of bytes left in the current from buffer and calculating the
delay accordingly.


No differences found