diff options
Diffstat (limited to 'audio/jack/patches/patch-as')
-rw-r--r-- | audio/jack/patches/patch-as | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/audio/jack/patches/patch-as b/audio/jack/patches/patch-as deleted file mode 100644 index e841806491b..00000000000 --- a/audio/jack/patches/patch-as +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-as,v 1.2 2008/11/16 11:22:55 bjs Exp $ - ---- drivers/dummy/dummy_driver.c.orig 2008-11-11 17:36:45.000000000 -0500 -+++ drivers/dummy/dummy_driver.c -@@ -109,6 +109,7 @@ dummy_driver_wait (dummy_driver_t *drive - { - jack_nframes_t nframes = driver->period_size; - struct timespec now; -+ struct timespec ts; - - *status = 0; - /* this driver doesn't work so well if we report a delay */ -@@ -133,7 +134,9 @@ dummy_driver_wait (dummy_driver_t *drive - } - driver->next_wakeup = add_ts(driver->next_wakeup, driver->wait_time); - } else { -- if(clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &driver->next_wakeup, NULL)) { -+ ts.tv_sec = 0; -+ ts.tv_nsec = ts_to_nsec(driver->next_wakeup) - ts_to_nsec(now); -+ if(nanosleep(&ts, NULL)) { - jack_error("error while sleeping"); - *status = -1; - } else { |