libsoundio
libsoundio copied to clipboard
os.c: use NOTE_TRIGGER when available; add EV_TRIGGER as a fallback
NOTE_TRIGGER
is available only on 10.6+, and 10.5.x and early versions of 10.6 does not have it yet.
Use EV_TRIGGER
when available, but no NOTE_TRIGGER
.
Fix is borrowed from Apple libdispatch
.