Commit graph

1013 commits

Author SHA1 Message Date
Roope Salmi
833acbae61 Update to rust-jack 0.7 and simplify implementation
With rust-jack 0.7, the buffer_size callback is moved to
ProcessHandler. This reflects how it is actually called by jack:
it is called synchronously on the process thread, but it is allowed to
perform non-real-time-safe operations. In CPAL, this means that
it is fine to reallocate the temporary interlacing buffers when buffer
size changes.

This removes the need for buffer splitting on the output stream type,
and prevents panics when buffer size is made larger than initially on
the input stream type. (for some reason, buffer splitting was not
implemented for input previously)
2021-04-04 03:53:25 +03:00
est31
1b2469d0c1
Merge pull request #561 from Frando/patch-1
Add JACK support to README
2021-03-29 11:45:04 +02:00
est31
25ffc25324 Changelog for 0.13.2 and 0.13.3 2021-03-29 11:42:57 +02:00
est31
5837ceb58f
Merge pull request #562 from JCapucho/fix-alsa-distortion
Fix alsa in some configs outputting bad audio
2021-03-29 11:38:20 +02:00
est31
e75e4b4b5f Replace set-env with new method
set-env has been deprecated
2021-03-29 10:38:04 +02:00
est31
fbc0f71e21
Merge pull request #548 from xMAC94x/clippy
clippy fixes
2021-03-22 11:29:46 +01:00
Marcel Märtens
a945d83ac7 give each thread a unique name 2021-03-22 11:06:15 +01:00
Marcel Märtens
f9720b9767 clippy fixes 2021-03-22 10:59:08 +01:00
João Capucho
52821d9c37
Fix alsa in some configs outputting bad audio
This was introduced in 6b91485 and could cause issues with some alsa
configurations like that of pipewire-alsa which caused the audio to be
become weirdly distorted
2021-03-19 22:04:32 +00:00
Franz Heinzmann
c5caae08e4
Add JACK support to README 2021-03-19 15:55:40 +01:00
est31
5cfa09042c
Merge pull request #547 from xMAC94x/update_deps
update dependencies
2021-03-16 19:35:17 +01:00
Marcel Märtens
2993afeb56 update dependencies 2021-03-11 16:51:18 +01:00
est31
ca85e411d8
Merge pull request #546 from maxded/bump-ndk-(glue)
Bump ndk dependencies
2021-03-05 15:00:03 +01:00
Max de Danschutter
eaf4018596 Bump ndk 0.2 -> 0.3
Bump ndk-glue 0.2 -> 0.3
2021-03-05 11:59:10 +01:00
est31
09a78b519c
Merge pull request #536 from maxded/bump-android-deps
Bump Android dependencies
2021-03-05 00:33:20 +01:00
Max de Danschutter
a3ad8dd20b Fix clippy for Android CI 2021-01-30 12:30:50 +01:00
Max de Danschutter
f660d41738 Use prebuilt oboe-sys in CI 2021-01-30 12:16:49 +01:00
Max de Danschutter
006c81ef32 Bump Android dependencies
oboe 0.3.0 -> obeo 0.4.0
Jni 0.17.0 -> 0.18.0
2021-01-29 16:57:20 +01:00
mitchmindtree
1d72ae7453
Merge pull request #485 from MichaelHills/mike-ios
Refactor coreaudio host and add iOS support + ios-feedback example
2021-01-02 16:28:30 +01:00
Michael Hills
f9f6990d9e Add iOS build to CI 2021-01-02 02:04:13 +11:00
Michael Hills
b9b36d6a9a iOS default sample rate pulled from audio unit 2021-01-02 02:04:13 +11:00
Michael Hills
2cccf99d50 Refactor coreaudio host and add iOS support + ios-feedback example 2021-01-02 02:04:13 +11:00
est31
36ae2f02a8
Merge pull request #523 from alexmoon/examples
Examples improvements
2020-12-23 02:37:59 +01:00
Alex Moon
e76e1de3a3 Switch from structopt to clap to reduce dependencies. 2020-12-22 09:25:36 -07:00
Alex Moon
269c60fde0 Add an Android example and enhance the other examples with CLI argument parsing. 2020-12-14 11:04:32 -07:00
diwic
f6c12257bb
Merge pull request #506 from alexmoon/alsa-open-once
Avoid calling alsa::PCM::new() multiple times.
2020-12-10 11:10:27 +01:00
Alex Moon
9c4e240a7c Further refactoring of DeviceHandles.
Also fixes rustaudio/cpal#515.
2020-12-09 08:38:25 -07:00
Alex Moon
b89df31797 Refactor ALSA handle manipulation into methods on DeviceHandles. 2020-12-07 16:16:50 -07:00
Alex Moon
fb30d291ce Avoid calling alsa::PCM::new() multiple times.
Ensures that alsa::PCM::new() is called only once for a given Device so that we are
not rapidly opening and closing ALSA devices.
2020-11-18 10:22:41 -07:00
est31
296cf5caf7
Merge pull request #503 from HEnquist/test32bit
Add CI for linux on armv7 (32bit)
2020-11-09 22:43:06 +01:00
HEnquist
4dd16905f8 Rename test 2020-11-09 20:56:22 +01:00
HEnquist
c76f3268ec Check and test for armv7, 32bit 2020-11-09 20:52:00 +01:00
est31
7c1689e90a
Merge pull request #502 from est31/io_bytes
Update alsa requirement to 0.4.3 and change io to io_bytes
2020-11-08 21:45:14 +01:00
est31
a65e028412 Update alsa requirement to 0.4.3 and change io to io_bytes 2020-11-08 21:34:20 +01:00
est31
1896395f4d
Merge pull request #500 from est31/release_0_13_1
Release 0.13.1
2020-11-08 19:27:48 +01:00
est31
0e0cc39eb4 Release 0.13.1 2020-11-08 15:18:58 +01:00
est31
d89ce6df48 Changelog for 0.13.1 2020-11-08 15:18:58 +01:00
est31
cfee535d24
Merge pull request #499 from est31/update_deps
Update ringbuf dev-dependency
2020-11-08 15:14:10 +01:00
est31
3ccbcb843c Update ringbuf dev-dependency 2020-11-08 15:02:55 +01:00
est31
36cf061575
Merge pull request #496 from SergejJurecko/master
fix panic on windows if device gets unplugged
2020-11-08 15:00:21 +01:00
est31
b9a19d9f6e
Merge pull request #498 from Plecra/master
Update parking_lot to 0.11
2020-11-08 14:00:23 +01:00
Marli Frost
d0696d4814 chore(deps): update parking_lot to 0.11 2020-11-08 10:08:33 +00:00
Sergej Jurečko
3d163c3468 fix panic on windows if device gets unplugged 2020-11-05 09:24:00 +01:00
mitchmindtree
2220f58491
Merge pull request #491 from creator-rs/master
Add Android APK build CI and Release version 0.13.0
2020-11-03 13:03:47 +01:00
David Ackerman
d93d06f81e
Update oboe version 2020-11-01 14:09:51 +02:00
enfipy
bf766c1d5d
Update oboe to newest version. Fix support of input/output oboe streams 2020-10-29 19:32:11 +02:00
mitchmindtree
81a7414d0b
Merge pull request #464 from ely-uf/chore/docs-fix-stream-link
Fix broken Stream concept link in the docs.
2020-10-27 23:37:24 +01:00
mitchmindtree
c3fce0bc7b
Merge pull request #452 from darakshan/master
Eliminate or suppress Clippy messages.
2020-10-27 23:36:28 +01:00
mitchmindtree
2ea54a7ec6
Merge pull request #463 from RustAudio/dependabot/npm_and_yarn/examples/wasm-beep/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3 in /examples/wasm-beep
2020-10-27 23:34:44 +01:00
mitchmindtree
5720d0c99f
Merge pull request #475 from RustAudio/dependabot/npm_and_yarn/examples/wasm-beep/http-proxy-1.18.1
Bump http-proxy from 1.18.0 to 1.18.1 in /examples/wasm-beep
2020-10-27 23:34:30 +01:00