]> git.tuebingen.mpg.de Git - paraslash.git/commit
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)
commit4ca9b7b4365ee056687c4c9a626beb90452e7997
treee7a2af8c285ab26413eee50e5a1a4b768e3f3e70
parentf39c27735eab6c98ff84a90f53ed7cf311c9b664
osx_write.c: fix pre_select()

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.
osx_write.c