aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/fhandler/dsp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler/dsp.cc b/winsup/cygwin/fhandler/dsp.cc
index 5f78821..03c812a 100644
--- a/winsup/cygwin/fhandler/dsp.cc
+++ b/winsup/cygwin/fhandler/dsp.cc
@@ -590,7 +590,8 @@ fhandler_dev_dsp::Audio_out::waitforallsent ()
while (Qisr2app_->query () != fh->fragstotal_)
{
debug_printf ("%d blocks in Qisr2app", Qisr2app_->query ());
- Sleep (100);
+ cygwait (1);
+ sendcurrent ();
}
}