Commit graph

198 commits

Author SHA1 Message Date
Alexandre Bique
eb3d44542c
JACK: bump to 0.13.0 and fix compliation (#915) 2024-09-25 21:13:56 +02:00
Will
6ecfec4ed0
Bump Jack to v0.12 (#910)
* Bump to version 0.12.

* Fix some cargo clippy lints.

* Partially revert temp_buffer_to_data to be closer to original.

* Suppress too many arguments lint.
2024-09-10 03:15:56 +02:00
Georgy Frolov
0da7ae1d42
bump ringbuf version in examples (#897) 2024-07-14 17:20:39 +02:00
Ame
7b21251afd
Prepare 0.15.3 release (#856) 2024-03-05 01:17:16 +01:00
Ame
4502781298
windows 0.52 -> 0.54 (#855) 2024-03-03 00:33:25 +01:00
Fredrik Fornwall
52a0188c39
Update jni from 0.19 to 0.21 (#853) 2024-03-01 16:19:26 +01:00
Fredrik Fornwall
70d65b54bf
Update alsa from 0.8 to 0.9 (#852) 2024-03-01 16:18:59 +01:00
Ame
403ffb557a
update oboe to 0.6 (#849) 2024-02-28 14:45:31 +01:00
James Liu
bdbbf75d82
Remove parking_lot dependency (#846)
The standard library is using a similar implementation to parking_lot now. Other than APIs that are unstable, there shouldn't be that much of a reason to rely on parking_lot anymore. Parts of the cpal codebase already are using std locks. This PR removes the remaining parking_lot uses and replaces them with the standard library's.
2024-02-25 01:48:53 +01:00
François
d1837745ac
directly return Option instead of WasmOption (#823) 2024-01-30 02:14:55 +01:00
François
5a96f6e7f0
disable ndk default features (#824) 2024-01-27 02:15:02 +01:00
François
1847359cae
update ndk to 0.8 (#820) 2024-01-19 21:46:00 +01:00
James Liu
310160fbbf
Remove once_cell dependency (#800)
* Remove once_cell dependency.

* Add rust-version and set it to 1.70
2023-12-17 02:05:24 +01:00
Alphyr
76b04065cf
Update windows and alsa dependencies (#812) 2023-12-04 18:02:15 +01:00
Paul Hansen
17d2cc2084
Update windows-rs dependency (#791)
* Update `windows-rs` dependency

* Fix clippy warnings

* Update CHANGELOG.md
2023-07-25 11:35:54 +02:00
VincentJousse
2cae7b4323
prepare 0.15.2 release (#769)
Co-authored-by: Vincent Jousse <vincent.jousse@luminvent.com>
2023-03-30 18:37:24 +02:00
eladyn
17e7ab61fd
bump windows dependency to 0.46 (#765) 2023-03-26 17:40:47 +02:00
François
86da74e997 prepare 0.15.1 release 2023-03-14 13:59:00 +01:00
François
29dd8e2852
switch from mach to mach2 (#760) 2023-03-14 12:30:52 +01:00
Adrien Prokopowicz
459499686e
Remove thiserror and replace it with hand written Error impls 2023-02-25 20:41:07 +01:00
Carl Scherer
5a7769e5d8 make oboe's shared-stdcxx feature accessible 2023-02-07 19:34:16 +01:00
est31
9fbca9d074 Update cpal to 0.15.0 2023-01-29 15:38:07 +01:00
est31
e0aab2431d Remove authors
As per the RFC 3052.
2023-01-29 15:29:36 +01:00
est31
f5f103a196 Update dependencies
Updates alsa, windows, jack dependencies.
2023-01-29 15:16:21 +01:00
TypicalEgg
df51e0d472
Update oboe dependency 2023-01-19 00:36:06 -08:00
Paul Hansen
7776c6634a
Update windows-rs dependency (#726) 2022-11-13 05:03:23 +01:00
Pedro Tacla Yamada
56f54cb0b3
Update to use coreaudio-sys 0.11 (#706) 2022-11-09 12:26:06 +01:00
Caden Haustein
29999e6857
Remove stdweb in favor of js-sys, web-sys, and wasm-bindgen (#713) 2022-10-25 03:46:28 +02:00
mbodmer
97fc4edb8b
Bump linux deps, simplify examples, remove nix dep (#712)
* bump linux dependencies, dev-dependencies, anyhow, hound, ringbuf

* update to clap v4 and simplify examples with clap_derive

* have libjack installed when running with --all-features

* don't force the patch version for libc

* allow room for version resolution with nix

* nix dependency not used anymore, remove it
2022-10-23 20:59:45 +02:00
Marc Bodmer
16617ceade update nix crate to v0.25 2022-10-20 16:03:47 +02:00
general electrix
0af6a1c466 Refactor disconnection to trigger error_callback. 2022-10-11 02:55:03 -07:00
Kai Giebeler
85d773d59f Migrate Sample to dasp_sample (#689) 2022-10-07 14:08:54 +02:00
pin
0f8cd7a9c8 Add NetBSD support 2022-09-25 07:54:19 +02:00
est31
5dab2eda88 Release 0.14.0 2022-08-22 22:57:31 +02:00
Aceeri
9b7bb33965
Bump ndk/ndk-glue to 0.7 (#685) 2022-08-03 01:35:50 +02:00
Osspial
417b7fff6f
Implement BufferSize::Fixed in wasapi, and migrate wasapi to officially-supported Windows crate (#669)
I migrated to `windows-rs` in this PR since exposing the buffer size range for hardware-offloaded audio processing requires `IAudioClient2`, which isn't exposed in the `winapi` crate, and `winapi` seems to be more or less unmaintained at this point.

* Basic type conversion

* Make everything compile!

* Fix warnings

* Implement buffer sizing for wasapi

* Convert tabs to spaces

* Run cargo fmt

* Remove winapi from Cargo.toml

* Remove unused commented code from wasapi, and fix lingering TODOs

* Fix compile error

* Update to windows 0.37.0

* Run rustfmt

* Work around rustfmt nested tuple issues

* Improve readability of guid comparison code
2022-07-15 14:59:45 +02:00
James Liu
223f28262a
Update dependencies, switch to once_cell (#673) 2022-06-06 02:18:23 +02:00
Rémi Lauzier
7c0e4eb1e5
Update jack and parking_lot 2022-02-18 14:24:33 -05:00
Rémi Lauzier
6087b05604
Clap 3.1 2022-02-18 13:08:59 -05:00
Rémi Lauzier
8b99fce094
Rust 2021 and clap 3.0 2022-02-18 03:24:43 -05:00
Marijn Suijten
f8b05ade39 android: Migrate from ndk-glue to ndk-context
`ndk-glue` suffers one fatal flaw: it's "only" supposed to be used by
the crate providing `fn main()` and only supposed to end up in the
dependency graph once as it has `static` globals which get duplicated
across versions.

In the current case with `winit 0.26` still on `ndk-glue 0.5` but
`cpal` on `ndk-glue 0.6` it'll always panic in `fn native_activity()` as
the `static` globals on this version is not initialized.

Introducing `ndk-context`: a crate that holds these `static`s, with the
intention/premise to not see a breaking release /ever/ and make this a
problem of the past.  The crate is currently initialized with the VM and
Android Context on `ndk-glue` 0.5.1 and 0.6.1 (0.4.1 pending) making it
compatible with whatever is current, and the possibility for backporting
to older `ndk-glue` versions too.

See also:
https://github.com/rust-windowing/android-ndk-rs/issues/211
https://github.com/rust-windowing/android-ndk-rs/pull/223
2022-02-15 16:52:20 +01:00
David Ackerman
971c463462
Bump crate version (#635) 2022-01-28 01:18:00 +01:00
Wandalen
33094e89f5
Add sample-based generation example: synth_tones (#612) 2022-01-14 13:38:08 +01:00
David Ackerman
26411e8e8b
Update Cargo.toml 2022-01-14 00:32:20 +02:00
Luca Barbato
78c238e6cc Update to clap3 2022-01-12 16:55:46 +01:00
Be
5cbff436da
update jack to 0.8
This fixes the build with Pipewire's implementation of JACK:
https://github.com/RustAudio/rust-jack/pull/154
2021-12-12 21:27:48 -06:00
Henrik Rydgård
f1dcf41d5a Upgrade ndk and ndk-glue dependencies, both to 0.4.0 2021-11-10 14:04:29 +01:00
est31
8e616c3dd9 Update alsa and nix dependencies
Also fixes the build.
2021-10-31 23:37:27 +01:00
Rob Sherwood
a75de094de cpal's nix dependency to 0.21; resolve build issue
Building HEAD was broken with "two different versions of 'nix'".
This fixes it.

See https://github.com/RustAudio/cpal/issues/608
2021-10-28 03:27:53 -07:00
est31
683e992d52 Release 0.13.4 2021-08-08 22:23:16 +02:00