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
Andrew Kelley
9a06d22608
WASAPI: detect channel layout of exclusive device
2015-08-13 00:58:05 -07:00
Andrew Kelley
1f58cdc0bd
WASAPI: get formats for shared and exclusive devices
2015-08-13 00:11:54 -07:00
Andrew Kelley
709fc5fa19
WASAPI: detect raw devices
2015-08-12 19:29:01 -07:00
Andrew Kelley
ba65bdb131
WASAPI: shared mode devices support any sample rate
2015-08-12 18:57:34 -07:00
Andrew Kelley
c420bf9e71
WASAPI: get channel layout from devices
2015-08-12 17:50:36 -07:00
Andrew Kelley
75185d17d7
WASAPI: get the list of supported formats from devices
2015-08-12 17:11:03 -07:00
Andrew Kelley
f4ad630769
WASAPI: get the period duration of devices
2015-08-12 15:32:44 -07:00
Andrew Kelley
20b0515582
WASAPI: default device detection
2015-08-12 11:01:06 -07:00
Andrew Kelley
31e17477bc
WASAPI: get friendly name of devices
2015-08-10 23:18:08 -07:00
Andrew Kelley
97abe08f0e
WASAPI: get the number of available audio devices
2015-08-10 15:22:08 -07:00
Andrew Kelley
21bf405859
WASAPI skeleton
2015-08-08 15:22:50 -07:00
Andrew Kelley
34ba7e7564
CoreAudio: fix build
2015-08-08 14:49:03 -07:00
Andrew Kelley
7238d29666
sample rate is exposed as a list of min/max pairs
2015-08-08 14:44:31 -07:00
Andrew Kelley
eb7308d992
CoreAudio: microphone example works
2015-08-08 11:45:21 -07:00
Andrew Kelley
29d55f59f7
CoreAudio: ability to open an input device
2015-08-07 15:28:22 -07:00
Andrew Kelley
48d927d8e3
CoreAudio: ability to set buffer duration
2015-08-07 13:40:25 -07:00
Andrew Kelley
cdb02e2b46
CoreAudio: underflow test passes
2015-08-07 13:13:10 -07:00
Andrew Kelley
c263a29b52
os: fix cond timed wait crash on large timeout
2015-08-06 21:28:02 -07:00
Andrew Kelley
bdb604cc45
PulseAudio: handle error instead of panicking
2015-08-04 22:20:07 -07:00
Andrew Kelley
753673b194
CoreAudio: fix build
2015-08-04 22:15:43 -07:00
Andrew Kelley
a6c5f99b27
README: fix synopsis example
2015-08-04 22:04:40 -07:00
Andrew Kelley
c381526205
callbacks supply min and max frame count parameters
...
This changes the semantics of the callbacks so that instead of
a single `requested_frame_count` or `available_frame_count`,
the callbacks get a minimum frame count and maximum frame count.
The callback must write at least the minimum or get an underflow.
The minimum will be 0 on ALSA, PulseAudio, and Dummy, and will
equal the maximum on CoreAudio and JACK.
This ensures optimal behavior regardless of buffer size.
2015-08-04 21:57:46 -07:00
Andrew Kelley
8da5ae0798
PulseAudio: opening out stream populates buffer_duration
2015-08-04 13:09:45 -07:00
Andrew Kelley
a378cac92d
JACK: fix not setting outstream buffer_duration
2015-08-04 12:25:15 -07:00
Andrew Kelley
29a914ceba
no constructors or destructors
2015-08-04 11:03:19 -07:00