Commit graph

386 commits

Author SHA1 Message Date
Andrew Kelley c6427ca6af Merge branch 'master' into v2 2016-12-23 18:15:26 -05:00
Andrew Kelley 8094dc5249 update sio_record usage text
closes #135
2016-12-23 18:14:58 -05:00
Andrew Kelley 217161bba3 Merge branch 'master' into v2 2016-12-23 15:41:01 -05:00
Andrew Kelley fec857366e Merge pull request #143 from inolen/master
build: fix detection of unsuitable JACK library
2016-12-23 15:40:33 -05:00
Andrew Kelley 047f55bedc Merge branch 'master' into v2 2016-12-23 14:38:06 -05:00
Andrew Kelley d6df7f742b Revert "move SoundIoBackendDummy enum item position"
This reverts commit ef889fb188.

On second thought, we currently depend on Dummy being in the last
position. New backend additions are rare enough that we can
roll major version for them.
2016-12-23 14:29:07 -05:00
Andrew Kelley 98b85efba5 Merge branch 'android' of https://github.com/ligfx/libsoundio into v2 2016-12-23 14:22:41 -05:00
Andrew Kelley 38b0278e80 add some more docs for unconnected field 2016-12-23 14:13:27 -05:00
JP Cimalando 662ef7983b add Jack option to leave ports unconnected 2016-12-23 14:12:21 -05:00
Jacques Heunis eef66c5d34 Fix incorrectly returning the same error in multiple error cases 2016-12-23 14:11:52 -05:00
Jacques Heunis 29555645eb Return more descriptive/exact errors when available in WASAPI. 2016-12-23 14:11:52 -05:00
Jacques Heunis e73a630c56 Fix WASAPI disconnecting if just one device cannot be opened. 2016-12-23 14:11:52 -05:00
Jacques Heunis de9bb2902b Return slightly more descriptive soundio errors when RefreshDevices fails for WASAPI. 2016-12-23 14:11:52 -05:00
Ruurd Adema 6700f9145e Fixed issue with CoreAudio stereo stream being mono 2016-12-23 14:11:52 -05:00
Anthony Pesch 8af2379cf7 build: fix detection of unsuitable JACK library 2016-12-22 19:43:14 -08:00
Michael Maltese 89438ba0ac android: update readme with build and testing info 2016-11-08 19:34:56 -08:00
Michael Maltese a5c8d514a2 cmake: conditionally enable profiling flags on unit_tests 2016-11-08 19:22:41 -08:00
Michael Maltese 1ecded57cf cmake: surround *_CFLAGS and *_LDFLAGS with quotes
So that the build doesn't fail if they're empty.
2016-11-08 19:22:41 -08:00
Michael Maltese dd74dd773d android: ashmem implementation of mirrored memory 2016-11-08 19:22:41 -08:00
Michael Maltese ddbe4a8bf2 android: input device support 2016-11-08 19:22:41 -08:00
Michael Maltese 22e13b1c48 Android: implement functioning outstream 2016-11-08 19:21:58 -08:00
Michael Maltese 852403f405 Android: create and destroy OpenSL ES engine 2016-11-08 19:20:39 -08:00
Michael Maltese e75329f585 Android: open-able output device 2016-11-08 19:20:39 -08:00
Michael Maltese dfe2ac7f86 Add (empty) Android OpenSL ES backend 2016-11-08 19:20:03 -08:00
Michael Maltese fbf7df3b40 CMake: CMAKE_BINARY_DIR -> libsoundio_BINARY_DIR
- Consistent with usage of `libsoundio_SOURCE_DIR`
- Makes it easier to include inside other projects.

I haven't encountered any actual issues with the way it is now, but it
was misleading while I was debugging a different issue related to being
used as a subproject.
2016-10-31 11:58:57 -04:00
Andrew Kelley ef889fb188 move SoundIoBackendDummy enum item position
Now new backends can go at the end position and avoid rolling
major version number. When dummy was the last one, it was tempting
to put new backends before it.
2016-10-31 11:56:51 -04:00
Andrew Kelley afe6024a85 Merge pull request #124 from ligfx/libsoundiobinarydir
CMake: CMAKE_BINARY_DIR -> libsoundio_BINARY_DIR
2016-10-31 11:33:36 -04:00
Michael Maltese c04f74c1d9 CMake: CMAKE_BINARY_DIR -> libsoundio_BINARY_DIR
- Consistent with usage of `libsoundio_SOURCE_DIR`
- Makes it easier to include inside other projects.

I haven't encountered any actual issues with the way it is now, but it
was misleading while I was debugging a different issue related to being
used as a subproject.
2016-10-26 23:48:51 -07:00
Andrew Kelley c81fe43ac0 add soundio parameter to emit_rtprio_warning
closes #114
2016-10-23 19:40:37 -04:00
Andrew Kelley bef0df2f0b use consistent enum to string function names
closes #115
2016-10-23 19:21:21 -04:00
Andrew Kelley 4a8376a704 use SoundIoError for return type instead of int
closes #116
2016-10-23 19:14:54 -04:00
Andrew Kelley 25a35c3dab build: examples and tests work when building statically
closes #106
2016-10-23 16:49:26 -04:00
Andrew Kelley f9ccb19e35 build: examples and tests work when building statically
closes #106
2016-10-23 16:48:52 -04:00
Andrew Kelley 9557eb7b60 docs: move ring buffer docs to work around doxygen limitation
closes #113
2016-10-23 16:38:57 -04:00
Andrew Kelley 32ae2a739b docs: move ring buffer docs to work around doxygen limitation
closes #113
2016-10-23 16:38:36 -04:00
Andrew Kelley 6703021eba sio_sine: add phase wrap around
closes #110

Thanks to @iskunk for the fix.
2016-10-23 16:12:56 -04:00
Andrew Kelley 25baedb4c3 sio_sine: add phase wrap around
closes #110

Thanks to @iskunk for the fix.
2016-10-23 16:11:58 -04:00
Andrew Kelley 369181fb9c Merge branch 'pulseaudio' of https://github.com/0joshuaolson1/libsoundio into v2
closes #96
2016-10-23 14:41:49 -04:00
Andrew Kelley 48681a11db remove SoundIo param from 2 API functions
closes #29
2016-10-23 14:28:54 -04:00
Andrew Kelley 323fb1aa27 Merge pull request #104 from jacquesh/wasapi-device-error-handling
WASAPI device error handling
2016-09-17 12:39:00 -04:00
Jacques Heunis f9444b089b Fix incorrectly returning the same error in multiple error cases 2016-09-16 22:46:14 +02:00
Jacques Heunis b88355eaaf Return more descriptive/exact errors when available in WASAPI. 2016-09-16 21:47:00 +02:00
Jacques Heunis 61c04c3730 Fix WASAPI disconnecting if just one device cannot be opened. 2016-09-16 10:22:54 +02:00
Jacques Heunis a8201986a0 Return slightly more descriptive soundio errors when RefreshDevices fails for WASAPI. 2016-09-16 10:12:35 +02:00
Andrew Kelley 8583897d72 Merge pull request #101 from ruurdadema/master
Fixed issue with CoreAudio stereo stream being mono
2016-08-20 12:07:47 -04:00
Ruurd Adema 8fbabc4dfc Fixed issue with CoreAudio stereo stream being mono 2016-08-19 21:18:06 +02:00
0joshuaolson1 662286a312 Add PulseAudio signed 24bit packed formats 2016-07-30 14:45:28 -06:00
0joshuaolson1 9defcda7f4 Add packed/3bytes format to ALSA,dummy 2016-07-26 16:23:05 -06:00
Andrew Kelley 5ffdbf1ce9 Merge pull request #93 from 0joshuaolson1/patch-2
Remove duplicate documented SoundIoError
2016-07-24 19:48:29 -04:00
Joshua Olson bba007f0a7 Remove duplicate documented SoundIoError 2016-07-23 19:15:26 -06:00