Commit graph

181 commits

Author SHA1 Message Date
Jeff Fessler
7e0ca0122f
Fix remaining messanger typos, add docstring (#115)
* Fix typo, add docstring

* v1.3.0
2022-04-02 18:04:30 -04:00
bramtayl
156eae0db8
Update readme (#111)
* update readme

* Update README.md

Co-authored-by: Jeff Fessler <JeffFessler@users.noreply.github.com>

* Update src/PortAudio.jl

Co-authored-by: Jeff Fessler <JeffFessler@users.noreply.github.com>

* Update README.md

Co-authored-by: Jeff Fessler <JeffFessler@users.noreply.github.com>

Co-authored-by: Jeff Fessler <JeffFessler@users.noreply.github.com>
2022-03-29 13:00:39 -04:00
bramtayl
78a0a9918d
work with vector buffers (#109)
* work with vector buffers

* no redundant tests
2022-03-09 17:24:25 -05:00
Jeevith Gnanakumaran
f6cd300ec8
avoid fields with abstract types (#100)
https://docs.julialang.org/en/v1/manual/performance-tips/#Avoid-fields-with-abstract-type

The Buffer contains a field which is of type Array{T} where T. This is an abstract type, and to make it concrete, we need to specify the dimension of the array (2).
2022-01-10 12:38:16 -05:00
bramtayl
d570288ebe
no runtime error capturing (#99) 2022-01-07 11:53:34 -05:00
bramtayl
44d4ca38f8
spelling (#98)
* spelling

* version
2022-01-06 09:56:42 -05: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
6a018cfc32
Avoid circular type definition (#78)
* avoid recursion

* reuse ref

* fix
2021-06-14 10:06:02 -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
bramtayl
0187b4937d
don't prefill empty output (#72) 2021-05-21 16:12:47 -04:00
bramtayl
5bdd8975a9
add alsa_plugins (#70)
* add alsa_plugins

* avoid get!
2021-05-21 08:27:33 -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
25f9c1230f improves xrun handling and fixes segfaults on ctrl-c
fixes #20
2020-02-23 23:05:32 -05:00
Spencer Russell
461cdc1557 add disable_sigint to make ctrl-C not crash Julia 2020-02-22 21:42:45 -05:00
Jakub Wronowski
81720e0155 default latency fix 2020-02-20 23:02:10 +01:00
Jakub Wronowski
03a32623e9 default latency 2020-02-20 22:59:05 +01:00
Jakub Wronowski
c18963ac53 removed SampledSignals.blocksize method 2020-02-20 22:48:04 +01:00
Jakub Wronowski
1fe68cf857 removed blocksize parameter 2020-02-18 23:04:51 +01:00
jakubwro
3ffdbb9bc9 exposed pa stream latency 2020-02-11 00:11:21 +01:00
Spencer Russell
b18b9bdcae only look for ALSA on linux systems 2020-01-30 11:54:16 -05:00
Spencer Russell
9d780e4950 re-enables suppressing portaudio initialization output 2020-01-30 11:33:50 -05:00
Spencer Russell
d069e75a9f bumps latency for more reliable performance 2020-01-30 11:28:44 -05:00
Spencer Russell
f123478231 now using a mutex to protect libportaudio access 2020-01-02 14:23:41 -05:00
Spencer Russell
16d0bc48be adds auto-detection of ALSA config dir 2020-01-02 13:56:46 -05:00
Spencer Russell
9eb565e487 mostly working, but crashes sometimes 2020-01-02 00:02:00 -05:00
Spencer Russell
4c2ad4dc06 some more update-related tweaks 2020-01-01 14:59:46 -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
01ddd6b835 adds warn_xrun option 2019-04-02 14:06:00 -04:00
Spencer Russell
7f51c78596 enable warnings on xruns 2019-04-02 13:39:12 -04:00
Spencer Russell
8bd884d394 fixes field acess error when printing other errors 2019-02-27 09:01:09 -05:00
Spencer Russell
c66ad398bd adds warning TODO for do-syntax 2018-12-05 11:22:28 -05:00
Spencer Russell
8d42b94a6a adds do syntax support 2018-12-05 11:17:36 -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
45bfdc4830 now properly closing the error ringbuf 2018-08-16 15:59:00 -04:00
Spencer Russell
bc32d13f7d Ref usage wasn't working on 0.6 2018-08-16 14:41:50 -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
de0dd1054f adds docstring for PortAudioStream 2017-05-19 01:03:43 -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
acaa305dfa adds linux build of pa_shim, removes Suppressor dependency 2017-05-17 00:32:19 -04:00
Spencer Russell
0c36e1eec5 mostly adding tests and fixing bugs. passing tests now 2017-05-11 00:58:49 -04:00
Spencer Russell
9e3e66d37a now reports hash of source file used to build shim 2017-05-09 13:08:00 -04:00
Spencer Russell
5c40329df6 new C-based ringbuffer handling seems to be mostly working 2017-05-09 11:46:11 -04:00
Spencer Russell
15dcee6245 now just using floating-point samplerate 2016-09-29 02:31:07 -04:00