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
Andrew Kelley
8d3a32e668
PulseAudio: fix scan devices out of memory race condition
2015-08-26 15:54:03 -07:00
Andrew Kelley
f7b37ef527
doxygen: 4 enum values per line
2015-08-26 15:21:48 -07:00
Andrew Kelley
a0562af122
document possible errors
2015-08-26 15:17:51 -07:00
Andrew Kelley
c96405a091
rt prio warning behavior is overridable
2015-08-26 12:54:13 -07:00
Andrew Kelley
195ea59209
ALSA: fix playback on raw device
2015-08-26 12:31:09 -07:00
Andrew Kelley
6019d4b964
generated docs: smaller header; no footer
2015-08-26 11:43:11 -07:00
Andrew Kelley
1a52d9956d
more docs
2015-08-26 11:23:20 -07:00
Andrew Kelley
f92ae9f5df
README: fix typo
2015-08-26 02:48:46 -07:00
Andrew Kelley
64b5564ae1
use doxygen to generate documentation
2015-08-26 02:40:04 -07:00
Andrew Kelley
418904abd3
WASAPI: support exclusive mode capture
2015-08-25 00:23:12 -07:00
Andrew Kelley
8c9c4f85c2
sine example: remove panics
2015-08-25 00:08:20 -07:00
Andrew Kelley
65416669d3
WASAPI: all COM functions called in dedicated threads
2015-08-24 23:53:32 -07:00
Andrew Kelley
2c9055d0d3
WASAPI: call COM functions in dedicated thread for outstream
2015-08-24 23:33:27 -07:00
Andrew Kelley
d1f27fad83
WASAPI: use stream name for session display name
2015-08-24 19:52:43 -07:00
Andrew Kelley
1bb10e6a13
microphone example: more cli parameters
2015-08-24 18:10:09 -07:00
Andrew Kelley
b3dfcb4526
WASAPI: microphone example works
2015-08-24 17:42:57 -07:00
Andrew Kelley
90fa377c99
WASAPI: sine wave example works with raw device
2015-08-21 17:11:46 -07:00
Andrew Kelley
dd7a6a8bbc
fix build with clang
2015-08-21 13:27:49 -07:00
Andrew Kelley
a05e0e283e
WASAPI: fix device cleanup segfault
2015-08-21 13:08:11 -07:00
Andrew Kelley
aef877fe48
build: use GNUInstallDirs
2015-08-20 17:46:16 -07:00
Andrew Kelley
2eb8ce24cf
sine example: add parameter to specify device
2015-08-20 17:38:01 -07:00
Andrew Kelley
bc7b22f61c
build: no need to generate .def file
...
mingw generates .dll.a files which MSVC accepts in addition to .lib
files.
2015-08-20 17:37:29 -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
843ea287b9
WASAPI: fix double unref of IMMDevice
2015-08-20 00:45:22 -07:00
Andrew Kelley
2514e19195
build: fix sine example compiling with MSVC
2015-08-20 00:44:56 -07:00
Andrew Kelley
92f7e85d72
build: generate def file when building with mingw
2015-08-20 00:44:41 -07:00
Andrew Kelley
c2bc2c7c21
WASAPI: sine wave example works with shared device
2015-08-19 23:41:35 -07:00
Andrew Kelley
ba0d45b8fa
build: -Werror and -pedantic in debug mode only
2015-08-19 17:27:05 -07:00
Andrew Kelley
fbc7318268
remove the concept of period duration from the API
...
also more progress on WASAPI
2015-08-13 22:54:15 -07:00
Andrew Kelley
61b95a458c
WASAPI: detecting device changes
2015-08-13 12:23:22 -07:00
Andrew Kelley
e82c3e89da
WASAPI: get period duration for raw devices
2015-08-13 10:18:46 -07:00