Commit graph

36 commits

Author SHA1 Message Date
Andrew Kelley f52080a1fd fix mirrored memory not working on linux
add mirrored memory unit test
2015-09-14 14:56:13 -07:00
Andrew Kelley c62c2e4661 macos: avoid allocation when getting time 2015-09-11 10:20:46 -07:00
Andrew Kelley b6c0c84294 macos: fix not cleaning up condition variables 2015-09-10 17:14:16 -07:00
Andrew Kelley 369ea0f608 os: fix some variables not static 2015-09-08 10:03:23 -07:00
Andrew Kelley e2e483a4d5 no longer depend on or link against libm 2015-09-05 14:56:36 -07:00
Andrew Kelley c96405a091 rt prio warning behavior is overridable 2015-08-26 12:54:13 -07:00
Andrew Kelley 3b49292897 use hidden visibility by default and explicitly export
Also don't expose os functions.
And do the dllexport/dllimport thing.
2015-08-20 14:48:19 -07:00
Andrew Kelley c2bc2c7c21 WASAPI: sine wave example works with shared device 2015-08-19 23:41:35 -07:00
Andrew Kelley 20b0515582 WASAPI: default device detection 2015-08-12 11:01:06 -07:00
Andrew Kelley 97abe08f0e WASAPI: get the number of available audio devices 2015-08-10 15:22:08 -07:00
Andrew Kelley c263a29b52 os: fix cond timed wait crash on large timeout 2015-08-06 21:28:02 -07:00
Andrew Kelley 29a914ceba no constructors or destructors 2015-08-04 11:03:19 -07:00
Andrew Kelley f77663399f CoreAudio: obtain most device information 2015-08-01 22:10:43 -07:00
Andrew Kelley 7371ce5146 Fix kqueue-based cond and signal implementation 2015-08-01 13:01:49 -07:00
Andrew Kelley 1829fbf073 fix build on OSX 2015-07-31 18:06:11 -07:00
Andrew Kelley 860370d859 rename examples, install them, and correct #include path 2015-07-30 14:16:22 -07:00
Andrew Kelley 2a70bdb745 add a test for underflow handling and expose os API 2015-07-30 12:07:58 -07:00
Andrew Kelley 12db5fd970 remove all calls to soundio_panic
Return codes are the way errors are communicated, not
crashing the entire program.
2015-07-30 00:46:13 -07:00
Andrew Kelley 85549b59b7 ring buffer: fewer mallocs during init 2015-07-27 15:29:10 -07:00
Andrew Kelley 69764e1afa microphone example working with dummy backend 2015-07-23 15:04:41 -07:00
Andrew Kelley 057f4ea07e avoid linking against ___cxa_guard_acquire
and ___cxa_guard_release. Fixes build with clang on OSX.
2015-07-23 11:59:06 -07:00
Andrew Kelley 29dd765aa0 warning not panic on windows when rtprio fails 2015-07-21 11:14:42 -07:00
Andrew Kelley db8eca47ab fix not freeing mirrored memory on Windows 2015-07-21 11:11:32 -07:00
Andrew Kelley 1e7cd145ad rt prio warning: fix race condition 2015-07-20 16:52:07 -07:00
Andrew Kelley 1e4d87e608 ALSA: open output device with parameters 2015-07-13 21:30:37 -07:00
Andrew Kelley 5048d7aa57 ring buffer works on windows 2015-07-06 16:02:20 -07:00
Andrew Kelley 60b731ab4f os: make sure tv_nsec is less than 1,000,000,000 2015-07-04 03:37:50 -07:00
Andrew Kelley 39cb1d4fde os: implement cond wait and cond timed wait on windows 2015-07-03 01:24:19 -07:00
Andrew Kelley 1738edeaf9 windows: attempt high priority only when asked for it 2015-07-02 23:18:00 -07:00
Andrew Kelley f57f691068 work around InitOnceExecuteOnce being completely broken
runs on Windows now
2015-07-02 23:12:58 -07:00
Andrew Kelley 15b801c820 building on windows 2015-07-02 19:15:09 -07:00
Andrew Kelley a659adebd0 fix build on linux 2015-07-02 02:53:08 -07:00
Andrew Kelley 6378e6afd5 implement conditions and signals with kqueue
now libsoundio builds on OS X and FreeBSD
2015-07-02 02:45:02 -07:00
Andrew Kelley 24557e0ee3 closer to compiling on OS X 2015-07-01 13:24:47 -07:00
Andrew Kelley 6a5db549f5 list_devices example works with dummy backend 2015-07-01 02:37:51 -07:00
Andrew Kelley e409400f04 extracted code from Genesis 2015-07-01 01:02:44 -07:00