Commit graph

87 commits

Author SHA1 Message Date
Brandon Taylor
06c6fd0495 fix bug, test 2022-07-24 11:54:55 -04:00
bramtayl
fbcd539a76
Allow skipping locks, precompile (#120)
* Allow skipping locks, precompile

* fix tests

* version
2022-07-23 15:42:04 -04:00
Brandon Taylor
d6c3595f03 Use Clang wrappers; reduce thread spawning; separate out SampledSignals
fix

fix

use CLANG wrappers

cleanup (again)

more coverage

fix tests

fix?

distinguish error numbers from codes

reduce thread spawning

cleanup

fix?

fix?

coverage

coverage

fix

fix

more cleanup and comments

separate out SampledSignals part

almost there

fix

comments

fix

Add gen README

Update test/runtests.jl

Co-authored-by: Robert Luke <748691+rob-luke@users.noreply.github.com>
performance improvements

fix

more comments

separate messanger from buffer

fix source/sink mix-up

adjust_channels, test device names

slight cleanup

update docs

add links to docs to readme
2021-07-25 13:11:55 -04:00
bramtayl
b3cddf5669
run JuliaFormatter (#77) 2021-06-01 13:44:23 -04:00
bramtayl
50eb168f9a
More coverage (#76)
* more coverage

* more
2021-06-01 12:39:27 -04:00
bramtayl
dd68835815
Send debug to debug (#74)
* send to debug

* use Suppressor

* actually, this might be nicer as a macro

* return

* fix, add test

* small fix

* Logging target

* send xrun messages to debug

* Add note to README

* Revert "send xrun messages to debug"

This reverts commit d47abb9072.
2021-05-24 17:34:37 -04:00
Brandon Taylor
1d9e441168 handle C_NULL errors 2021-05-13 13:59:25 -04:00
bramtayl
06a1a0f243
Combine tests (#65)
* combine tests

* Delete runtests_local.jl

* More robust defaults, add SampledSignals

* get rid of flush

* get rid of flush, update printing

* Create runtests_local.jl

* Rename test/test/runtests_local.jl to test/runtests_local.jl
2021-05-13 11:42:09 -04:00
Spencer Russell
93916a630d Removes crufty files and outdated tests 2020-01-30 15:25:08 -05:00
Elliot Saba
a7919c5b64 Upgrade PortAudio to JLL packages 2019-12-27 22:50:45 -08:00
Julian P Samaroo
1f1f721fec Make things work on Julia v1, use BB for some deps
Removed Compat
Switched to BB repo for libportaudio
Re-enabled a now-passing pa_shim test
2019-09-08 18:59:37 -05:00
Spencer Russell
7d1be74eae adds workaround for libuv/libuv#1951. PA_SHIM REQUIRES LOCAL BUILD 2018-08-28 13:41:04 -04:00
Spencer Russell
3551896de1 install Compat during testing 2018-08-16 14:11:17 -04:00
Spencer Russell
b1e0183538 now testing on 0.6, 0.7, and 1.0 2018-08-16 12:41:35 -04:00
Spencer Russell
f6213dc5ef some more upgrades, changes a bunch of Ptrs to Refs 2018-08-15 23:18:44 -04:00
WooKyoung Noh
5823404f1a Compat Julia 0.7 2018-06-21 17:02:34 +09:00
Spencer Russell
47ea6a0c30 adds TestSetExtensions to test/REQUIRE 2017-05-19 01:10:19 -04:00
Spencer Russell
a7cc0672a5 splits tests so we can run as much as possible during CI 2017-05-18 21:36:01 -04:00
Spencer Russell
e7b67133b3 tweaks one of the write tests 2017-05-18 21:19:03 -04:00
Spencer Russell
efd70272ab adds cross-compiled multiplatform builds and infrastructure to load them 2017-05-18 12:38:13 -04:00
Spencer Russell
3e7c6b5c1b fixes test opening default devices 2017-05-17 00:34:45 -04:00
Spencer Russell
acaa305dfa adds linux build of pa_shim, removes Suppressor dependency 2017-05-17 00:32:19 -04:00
Spencer Russell
85c34d3906 adds ps_shim lib build for OSX 2017-05-15 22:57:18 -04:00
Spencer Russell
0c36e1eec5 mostly adding tests and fixing bugs. passing tests now 2017-05-11 00:58:49 -04:00
Spencer Russell
ba5f60e097 Removes duplicate using SampledSignals in runtests.jl 2016-10-27 13:18:16 -04:00
Spencer Russell
15dcee6245 now just using floating-point samplerate 2016-09-29 02:31:07 -04:00
Spencer Russell
4fe967465c updates for SampledSignals 0.2.0 API 2016-09-04 13:05:42 -04:00
Spencer Russell
1d5ca112eb back to duplex-by-default but now with optional synchronization 2016-08-16 18:10:03 -04:00
Spencer Russell
fb30e51f91 fixes tests to they pass. issue filed for large resampling 2016-08-08 21:31:29 -04:00
Spencer Russell
2cc49cc3e0 fixes error with multichannel reading 2016-08-08 21:28:34 -04:00
Spencer Russell
ede482ce6f defaults to output-only, bigger ringbuf, fixes issue with multichannel writing 2016-08-08 20:25:02 -04:00
Spencer Russell
0d64e4bd0c now will do partial ringbuf read/writes in partial underflow conditions. crashes on 0.5 --inline-no 2016-08-01 13:20:53 -04:00
Spencer Russell
77dcb8965c seems to be mostly working with lockfree ringbuffer 2016-07-29 01:44:02 -04:00
Spencer Russell
e40933b97b fixes 0.5 depwarns except AsyncCondition stuff 2016-07-28 00:55:56 -04:00
Spencer Russell
43292ccaf8 updates for SampleTypes-to-SampledSignals rename 2016-03-31 11:07:46 -04:00
Spencer Russell
8a7a7d5baa moves most stream config to keyword args and updates README 2016-03-23 23:25:03 -04:00
Spencer Russell
f02e733fe7 callback creation/scheduling seems to be working 2016-03-22 22:45:40 -04:00
Spencer Russell
c3d8723b5b adds some tests and fixes, test coverage at 95% 2016-03-20 05:09:56 -04:00
Spencer Russell
8ee46f5125 removes commented-out old code 2016-03-20 00:28:56 -04:00
Spencer Russell
4cb94e168d now tests run, but fail because there aren't any 2016-03-19 21:56:42 -04:00
Spencer Russell
fae9b38224 massive restructuring. mono output to default sink works 2016-03-19 21:54:46 -04:00
Spencer Russell
80d329eb39 stripped out non-portaudio stuff and starting to reorganize portaudio stuff 2016-03-18 22:15:00 -04:00
Spencer Russell
c4dfef9178 more fixes to get the tests running without deprecations on 0.4 and 0.3 2015-11-12 09:51:12 -05:00
Spencer Russell
f75de3299f adds test and default channel for AudioInput 2014-08-28 17:05:15 -04:00
Spencer Russell
ae76badebb adds method to get rate of a file 2014-08-27 10:58:17 -04:00
Spencer Russell
2620e6ecb2 fixes issue and now passes test for stereo file playback (mixing to mono) 2014-08-13 12:31:56 -04:00
Spencer Russell
5f074a4f87 adds stereo wav test file 2014-08-12 21:53:44 -04:00
Spencer Russell
11e6dce20c now we have a failing test for stereo file playback 2014-08-12 19:26:03 -04:00
Spencer Russell
edf2f8fd04 now transposing the audio so columns are channels on a file read 2014-08-12 19:22:19 -04:00
Spencer Russell
d4b4b33361 test for mono file playback now passing 2014-08-12 13:24:31 -04:00