Commit graph

1069 commits

Author SHA1 Message Date
Przemysław Węgrzyn
6c3d11b8f6
ALSA: don't ignore POLLERR (#731) 2024-02-22 05:09:56 +01:00
Jesper Nordenberg
adaa49de8b
ASIO audio mixing fixes (#832)
* Fixed ASIO output mixing

Fixed clippy errors

* Fixed buffer silence bug

* Removed byteorder dependency

* Removed SizedSample bound
2024-02-21 01:45:23 +01:00
Jesper Nordenberg
b87ec4b5a7
Improved detection of WASAPI device formats (#839) 2024-02-21 01:44:45 +01:00
Jesper Nordenberg
bc6bfa2532
Boost WASAPI IO thread priority (#838) 2024-02-21 01:43:01 +01:00
Ian Kettlewell
8d50e6af64
Fix crash on Web / Wasm when 'atomics' flag is enabled (#837) 2024-02-18 00:00:05 +01:00
Jesper Nordenberg
52c7a9d680
Cleaned up asio-sys (#831)
- Fixed clippy warnings
- Removed once_cell
2024-02-10 18:40:19 +01:00
Brandon Elam Barker
bbb58ab767
Clone for device (#830)
* Clone for Device and Alsa Device

* fix cloning around PCM

* add Clone for oboe Device

* add Clone for ASIO Device
2024-02-06 04:48:11 +01:00
Adam Gausmann
4706396ca3
Add non-panicking variant of with_sample_rate (#828) 2024-02-05 02:29:30 +01:00
François
49c1196999
Update actions (#825)
* update actions/checkout to v4

other checkout

* switch actions-rs/toolchain to dtolnay/rust-toolchain

* stop using actions-rs/cargo

* stop using actions-rs/clippy-check

* update mymindstorm/setup-emsdk and don't use an old version of emscripten

* update katyo/publish-crates
2024-01-30 02:16:10 +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
802073d808
download android 30 as it's the one used by default with cargo apk (#822) 2024-01-24 21:49:17 +01:00
Brandon Elam Barker
7d8ee38f31
add Copy for SupportedStreamConfigRange (#821) 2024-01-21 18:45:38 +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
Ali Somay
efa0c7af6b
Improve asio sys build script (#809)
* Make build script more robust

* Make build dependencies available regardless of target

* Fix error about the u32 i32 type mismatch

* Update readme

* Fix target_arch bug
2023-11-11 16:27:55 +01:00
Ali Somay
3a449538b7
Automate asio sys build (#804) 2023-10-17 12:13:30 +02:00
Ryan McGrath
f51589c552
Replace assert in WASAPI check with bubble'd error (#797)
Replace assert in WASAPI WAVEFORMTEX supported format check with bubbled error message.

For our use case, this stops a crash that pops up for some users who encounter this path and allows us to gracefully just not play audio and log a message elsewhere.
2023-09-01 01:57:39 +02:00
Hugo van der Merwe
f063271c23
Fix synth_tones frequency (#792)
Each *_wave() function calls advance_sample(). Having tick() also call it results in skipping every second sample.
2023-08-03 03:42:34 +02: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
Dickless
d0ff4fe91f
Fix warnings in asio_sys (#779)
* Fixed warnings using deprecated Error::description

* Allowed dead_code
2023-07-20 21:53:45 +02:00
Jamie Pond
19991d3607
Improve synth tones example (#784) 2023-05-30 12:44:20 +02:00
est31
d4ba28df73
Merge pull request #777 from mizuki0629/asio-sys
Remove unnecessary Lazy Mutex
2023-04-14 13:43:00 +02:00
mizuki0629
f46430828d
Remove unnecessary Lazy Mutex 2023-04-14 20:00:45 +09:00
mizuki0629
7d40371785
fix: asio-sys build failure, Segmentation fault (#775) 2023-04-14 10:12:55 +02:00
Easyoakland
848abf256f
Added must use to stream. Fixes issue #589 (#772) 2023-04-04 04:36:28 +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
VincentJousse
61a2210d70
webaudio: set the channel_count in the AudioDestinationNode (#768)
Co-authored-by: Vincent Jousse <vincent.jousse@luminvent.com>
2023-03-30 16:05:42 +02:00
eladyn
17e7ab61fd
bump windows dependency to 0.46 (#765) 2023-03-26 17:40:47 +02:00
Dickless
6ed426614a
Fixed wasapi thread panics involving the main(or other) thread(when Stream drops). (#756)
when main(or other) thread(s) try to drop the Stream object, they would panic at host/wasapi/stream.rs Stream::drop() if the wasapi thread is dead. this occurs when the user wants to do something after all the cpal objects have been dropped.
2023-03-15 15:10:38 +01:00
est31
72d5731256
Merge pull request #761 from mockersf/update-to-0.15.1
prepare 0.15.1 release
2023-03-15 01:03:37 +01: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
Julián Bayardo Spadafora
bd1ec6ae2e
Re-run build script if CPAL_ASIO_DIR changes or the folder it points to does (#759)
* Re-run build script if the CPAL_ASIO_DIR env variable changes value

* Re-run build script if the SDK changes
2023-03-10 12:43:43 +01:00
est31
e5ccc46afa
Merge pull request #681 from MeadowlarkDAW/remove-thiserror
Remove thiserror and replace it with handwritten Error impls
2023-02-25 21:39:04 +01:00
Adrien Prokopowicz
459499686e
Remove thiserror and replace it with hand written Error impls 2023-02-25 20:41:07 +01:00
est31
5ade4e3907
Merge pull request #750 from kenbunitag/oboe-shared-stdcxx-feature
make oboe's shared-stdcxx feature accessible
2023-02-13 22:36:49 +01:00
Carl Scherer
5a7769e5d8 make oboe's shared-stdcxx feature accessible 2023-02-07 19:34:16 +01:00
est31
e1e33c1acf
Merge pull request #746 from est31/release_0_15_0
Release 0.15.0
2023-01-29 15:47:27 +01:00
est31
9fbca9d074 Update cpal to 0.15.0 2023-01-29 15:38:07 +01:00
est31
ea867aee80 Changelog for 0.15.0 2023-01-29 15:37:19 +01:00
est31
e0aab2431d Remove authors
As per the RFC 3052.
2023-01-29 15:29:36 +01:00
est31
9d690fa2af
Merge pull request #745 from est31/update_deps
Update dependencies
2023-01-29 15:27:19 +01:00
est31
f5f103a196 Update dependencies
Updates alsa, windows, jack dependencies.
2023-01-29 15:16:21 +01:00
est31
c67b4288f5
Merge pull request #742 from AmionSky/fix-memfree
Fix CoTaskMemFree always getting called with null
2023-01-22 14:25:13 +01:00
Csányi István
72ad936b58 Fix CoTaskMemFree always getting called with null 2023-01-22 14:13:35 +01:00
est31
96e1fbfd8c
Merge pull request #741 from erikas-taroza/master
Update oboe dependency
2023-01-19 09:57:49 +01:00
TypicalEgg
df51e0d472
Update oboe dependency 2023-01-19 00:36:06 -08:00
Dimitris Apostolou
f123811209
Fix typos (#738) 2023-01-08 22:23:43 +01:00