Commit graph

234 commits

Author SHA1 Message Date
Andrew Kelley 369ea0f608 os: fix some variables not static 2015-09-08 10:03:23 -07:00
Andrew Kelley 749654b922 PulseAudio: better clear buffer implementation
seek instead of pa_stream_flush
2015-09-07 16:58:46 -07:00
Andrew Kelley e2e483a4d5 no longer depend on or link against libm 2015-09-05 14:56:36 -07:00
Andrew Kelley 8406dcd0ad sio_record: explain about shutting down
closes #12
2015-09-05 11:30:18 -07:00
Andrew Kelley 0598f91c5a build: remove superfluous include_directories statement 2015-09-05 11:28:16 -07:00
Andrew Kelley d233757b63 Merge pull request #20 from hasufell/master
Make building examples and tests optional
2015-09-05 11:27:26 -07:00
hasufell a3dd080fda
Make building examples and tests optional 2015-09-05 14:07:22 +02:00
Andrew Kelley 9d3c08fa3f sio_record: no fwrite in read_callback
See #12
2015-09-04 18:01:57 -07:00
Andrew Kelley b5056f142e docs: read_callback and write_callback must be real time safe 2015-09-04 11:33:59 -07:00
Andrew Kelley f8cb816139 ALSA: remove duplicate assert
Thanks to Devin Anderson for pointing it out.
2015-09-04 11:11:14 -07:00
Andrew Kelley 902edfaf44 Merge pull request #16 from diogocp/patch-1
Make building static libs optional
2015-09-04 09:26:04 -07:00
Diogo Pereira 0a20aec2a1 Make building static libs optional 2015-09-04 17:21:54 +01:00
Andrew Kelley 9cc6495306 JACK: fix infinite loop when refreshing devices
closes #9
2015-09-03 20:20:59 -07:00
Andrew Kelley 918183adc6 ALSA: be ready for /dev/snd to not be available
If this occurs, the system has no ALSA support in the kernel,
and it is appropriate for the backend to fail.

closes #6
2015-09-03 15:40:36 -07:00
Andrew Kelley 85c2190675 build: fix build on linux with clang
closes #8
2015-09-03 14:05:19 -07:00
Andrew Kelley 1848add506 Release 1.0.0 2015-09-03 11:35:32 -07:00
Andrew Kelley 066553b07e README touchup 2015-09-03 10:54:50 -07:00
Andrew Kelley b55a225b9c CoreAudio: pass the latency test
See #2
2015-09-03 10:47:38 -07:00
Andrew Kelley f422fcddf3 WASAPI: pass the latency test
See #2
2015-09-03 10:26:55 -07:00
Andrew Kelley 1381cf21d3 ALSA: pass the latency test
See #2
2015-09-03 09:52:21 -07:00
Andrew Kelley d8a7a794d3 PulseAudio: fix microphone regression
introduced by adb3cd88ee
2015-09-03 09:35:37 -07:00
Andrew Kelley e444b8823b JACK: pass the latency test
See #2
2015-09-02 15:23:41 -07:00
Andrew Kelley adb3cd88ee PulseAudio: pass the latency test
See #2
2015-09-02 14:46:36 -07:00
Andrew Kelley e5cd076e2e dummy: pass the latency test
See #2
2015-09-02 13:31:50 -07:00
Andrew Kelley 59fca8cb75 latency test emits periodic pulses
See #2
2015-09-02 12:22:06 -07:00
Andrew Kelley debab8e70f get latency skeleton
See #2
2015-09-02 12:22:03 -07:00
Andrew Kelley 06dc7704a3 ALSA: fix sometimes calling write_callback with 0 frame_count_max 2015-09-02 10:24:04 -07:00
Andrew Kelley 1d2cf2ed59 docs: on_backend_disconnect clarification 2015-09-01 18:40:03 -07:00
Andrew Kelley 2f618487ba docs: fix incorrect docs 2015-09-01 18:36:55 -07:00
Andrew Kelley 20fe4ac8d0 sine example: display connected backend 2015-09-01 17:16:48 -07:00
Andrew Kelley 760aee2e54 JACK: better pause/resume behavior
See #3
2015-09-01 17:14:56 -07:00
Andrew Kelley 7b2a10f7e5 WASAPI: simplify and fix device thread logic
closes #5
2015-09-01 17:00:13 -07:00
Andrew Kelley c14d61fa32 WASAPI: better pause/unpause and clear buffer behavior
See #3
2015-09-01 16:31:56 -07:00
Andrew Kelley c88e79cb7b dummy: better clear buffer behavior
See #3
2015-09-01 15:39:03 -07:00
Andrew Kelley cd72f45f06 ALSA: fix clear buffer behavior 2015-09-01 15:06:33 -07:00
Andrew Kelley fe4a04d93c ALSA: better pause/unpause behavior 2015-09-01 14:43:50 -07:00
Andrew Kelley afdb8b7feb README: Convert Roadmap to GitHub issues 2015-08-31 15:57:40 -07:00
Andrew Kelley 0b7c9965f9 build: add cmake options for optional dependencies
closes #1
2015-08-31 15:51:49 -07:00
Andrew Kelley 0f508fcf19 doc cleanup 2015-08-27 23:37:29 -07:00
Andrew Kelley ff73c08667 add sio_record example 2015-08-27 23:32:22 -07:00
Andrew Kelley dd6b7003d9 ALSA: better handling of raw devices
* Recover from xruns
 * Better period size choice
2015-08-27 22:58:17 -07:00
Andrew Kelley 7a714298c1 add soundio_force_device_scan API 2015-08-27 21:45:22 -07:00
Andrew Kelley 2d8f8e7f31 ALSA: look for the control file rather than pcm files 2015-08-27 21:22:30 -07:00
Andrew Kelley 5ce24c5382 WASAPI: not expected to pass overflow test 2015-08-27 21:03:42 -07:00
Andrew Kelley 0deb6242b4 CoreAudio: not expected to pass overflow test 2015-08-27 21:02:11 -07:00
Andrew Kelley 16437bd357 various code adjustments
* doc clarifications
 * examples compile with c99 not c11
 * fix pulseaudio on_backend_disconnected not firing only during
   flush events
 * make wait events more efficient
 * fix alsa devices race condition
 * fix backend disconnected code handling
 * add overflow test
 * fix on_events_signal not called at correct times
 * refactor pulseaudio device scanning
 * fix SoundIoErrorNoSuchDevice string value
2015-08-27 20:57:53 -07:00
Andrew Kelley dd49396429 doc: add FindSoundIo.cmake example file 2015-08-26 19:06:38 -07:00
Andrew Kelley 6032b83180 JACK: fix return type of rename callback 2015-08-26 19:05:07 -07:00
Andrew Kelley d6e41672f7 add test for recovering from backend disconnecting 2015-08-26 17:45:59 -07:00
Andrew Kelley b8a2adb4ec PulseAudio: detect server going offline 2015-08-26 17:10:52 -07:00