Commit graph

876 commits

Author SHA1 Message Date
est31
116ee431a6
Merge pull request #587 from remilauzier/master
Fix some typo and warnings
2021-06-29 18:05:34 +02:00
Rémi Lauzier
ba462dad18
Fix some typo and warnings 2021-06-29 11:30:26 -04:00
est31
5bbfa4992e
Merge pull request #584 from remilauzier/master
fix some clippy warnings
2021-06-28 11:36:54 +02:00
est31
611475d46f
Merge pull request #586 from alexmoon/fix-actions
Fix asmjs github action
2021-06-28 08:30:58 +02:00
Alex Moon
8f7cbb6cf0 Fix asmjs github action 2021-06-27 23:18:39 -04:00
Rémi Lauzier
6c78dce4c1
fix some clippy warnings 2021-06-25 18:07:05 -04:00
est31
e993111309
Merge pull request #583 from remilauzier/master
fix a rustc warning
2021-06-25 23:35:32 +02:00
Rémi Lauzier
acd2476cd7
fix a rustc warning 2021-06-25 16:23:23 -04:00
est31
9503ab729e
Merge pull request #582 from strohel/alsa-setup
[ALSA] Improve stream setup parameters.
2021-06-17 18:59:02 +02:00
Alex Moon
c349eb1477 [ALSA] Improve stream setup parameters.
* Always set period before setting buffer size, even if
  `BufferSize::Fixed`.
* Set `start_threshold` based on `alsa::Direction` to avoid underruns on
  playback streams.

Also refactor the return values of the set params functions to reflect their
actual use and resolve some clippy warnings (including a logic error in
`stream_timestamp()`).
2021-06-17 17:09:26 +02:00
est31
47ef62d413
Merge pull request #567 from RustyDAW/jack-alloc
Update to rust-jack 0.7 and simplify implementation
2021-06-07 08:47:18 +02:00
est31
b628b9d3bb
Merge pull request #575 from overdrivenpotato/master
Remove unimplemented size hint
2021-05-12 08:06:43 +02:00
Marko Mijalkovic
d6236adb84 Remove unimplemented size hint 2021-05-11 18:21:06 -04:00
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