Commit graph

1073 commits

Author SHA1 Message Date
RustDesk
96d4da121b
Merge pull request #7 from fufesou/fix/remove-non-exist-test-file
Some checks failed
cpal / clippy-test (push) Failing after 11s
cpal / rustfmt-check (push) Failing after 14s
cpal / cargo-publish (push) Has been skipped
cpal / ubuntu-test (push) Failing after 6s
cpal / linux-check-and-test-armv7 (push) Failing after 9s
cpal / asmjs-wasm32-test (wasm32-unknown-emscripten) (push) Failing after 8s
cpal / wasm32-bindgen-test (wasm32-unknown-unknown) (push) Failing after 14s
cpal / wasm32-wasi-test (wasm32-wasi) (push) Failing after 3s
cpal / android-check (push) Failing after 9s
cpal / android-apk-build (push) Failing after 18s
cpal / wasm-beep-build (push) Failing after 11s
cpal / windows-test (i686) (push) Has been cancelled
cpal / windows-test (x86_64) (push) Has been cancelled
cpal / macos-test (push) Has been cancelled
cpal / ios-build (push) Has been cancelled
fix: remove non exist test mod
2026-09-15 15:34:39 +08:00
fufesou
199c8c7c8b fix: remove non exist test mod
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-09-15 15:21:56 +08:00
RustDesk
1816e3269e
Merge pull request #6 from fufesou/fix/wasapi-stream-cleanup
fix(wasapi): release command events after worker exit
2026-09-15 14:05:50 +08:00
fufesou
5aacdf3983 refact: Remove tests of little value.
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-09-15 13:57:37 +08:00
fufesou
0bf4a78ec5 Explain WASAPI self-join handling and shared event lifetime 2026-09-13 10:30:12 +08:00
fufesou
b8ad274267 Follow upstream WASAPI teardown without stderr diagnostics 2026-09-12 23:16:49 +08:00
fufesou
8aa24a369b docs(wasapi): explain fallible teardown diagnostics 2026-09-12 22:49:41 +08:00
fufesou
949c287769 fix(wasapi): make teardown diagnostic writes fallible
A closed stderr pipe must not interrupt worker joining or event cleanup. Add one isolated native child-process regression that confirms BrokenPipe before exercising worker-exits-first destruction and handle accounting.
2026-09-12 22:32:35 +08:00
fufesou
f967589db3 test(wasapi): keep only native cleanup regressions
Preserve the original import layout and remove synthetic stream fixtures covered by the native lifecycle regressions.
2026-09-12 22:14:56 +08:00
fufesou
a9fae8fac6 fix(wasapi): align worker teardown with upstream lifetime handling
Adapt the self-join check and worker event lifetime from RustAudio/cpal#1187 (dccd6b464dc49267fa214ee168eb2b3c17a1ebf6). Keep shared OwnedHandle ownership so command submission also retains a valid event. Verify callback-thread destruction with a real WASAPI regression.
2026-09-12 22:11:39 +08:00
fufesou
2738d2077a test(wasapi): identify released events without handle reuse races 2026-09-12 18:27:19 +08:00
fufesou
20fc4e430e fix(wasapi): release command events after worker exit 2026-09-12 18:09:47 +08:00
RustDesk
69ad2578ad
Merge pull request #5 from fufesou/fix/screencapturekit-stream-interruption
fix(screencapturekit): report system-stopped capture streams
2026-09-09 18:20:09 +08:00
fufesou
524f5fc50b simple refactor
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-09-09 11:42:40 +08:00
fufesou
eaee235cf4 fix(screencapturekit): report system-stopped capture streams 2026-09-08 23:57:18 +08:00
RustDesk
41c8a2a759
Merge pull request #4 from fufesou/fix/wasapi-thread-priority
fix(wasapi): pass a thread handle to SetThreadPriority
2026-09-08 14:32:26 +08:00
fufesou
c2d3ed8c81 Remove tests that are not very useful.
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-09-08 14:01:46 +08:00
fufesou
c2657388dc fix(wasapi): use a thread handle when setting audio priority 2026-09-08 10:31:17 +08:00
RustDesk
6b374bcaed
Merge pull request #3 from fufesou/feat/macos_screencapturekit
fix: macos, screencapturekit, don't show cursor
2024-12-18 21:07:43 +08:00
fufesou
e6c8d833ed fix: macos, screencapturekit, don't show cursor
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-12-18 21:02:01 +08:00
RustDesk
7cb4ed0bd5
Merge pull request #2 from fufesou/feat/macos_screencapturekit
fix: macos, run on 12.3
2024-12-05 11:25:08 +09:00
fufesou
9b56b49acc fix: macos, run on 12.3
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-12-05 10:21:07 +08:00
RustDesk
4d318ff778
Merge pull request #1 from fufesou/feat/macos_screencapturekit
osx screencapturekit
2024-11-23 10:17:50 +09:00
fufesou
dd8e6bfe16 Remove expect
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-11-23 09:00:18 +08:00
fufesou
8add08e51b Better selector check
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-11-22 23:38:22 +08:00
fufesou
f5b0c718de feat: macos, screencapturekit
1. Add new feature `screencapturekit`.
2. Remove `unwrap()` in mod `screencapturekit`.
No all `unwrap()` in this crate are removed.
3. Add selector check before calling it.

Signed-off-by: fufesou <linlong1266@gmail.com>
2024-11-22 21:09:54 +08:00
Kree0
e851e41b6e Support ScreenCapture loopback 2024-11-17 13:06:51 +08:00
Jesper Nordenberg
582e93c41d
Added supports_input/output methods to DeviceTrait (#920)
Time to get list of WASAPI devices on my machine (5 devices in total) before change:
Input devices: 12 ms, output devices: 187 ms

After change:
Input devices: 1 ms, output devices: 1 ms
2024-11-03 15:09:27 +01:00
Antoine Beyeler
ca77d848ad
Make all error enums Clone (#924) 2024-11-03 03:05:13 +01:00
Alexandre Bique
f43d36e554
ALSA: better card enumeration (#916)
- better device name
- list physical devices
- inject most common virtual ones (default, pipewire, pulse, ...)
2024-10-11 14:04:25 +02:00
Nico Franke
02b454c02c
Fix callback being called after dropping the stream (#869)
* Fix callback being called after dropping the stream

* Use weak reference to stream in disconnect listener
2024-10-11 10:39:35 +02:00
Jesper Nordenberg
d7dee9af10
Fixed memory leak (#919)
Fixed memory leak for parameter ppClosestMatch in call to IAudioClient::IsFormatSupported
2024-10-11 10:37:04 +02:00
Michael Watson
fb9a53982a
Remove unused import (#911) 2024-10-11 10:33:00 +02:00
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
Peter Whidden
cc8ba75543
fix typo (still -> install) (#904) 2024-08-07 21:38:22 +02:00
Georgy Frolov
0da7ae1d42
bump ringbuf version in examples (#897) 2024-07-14 17:20:39 +02:00
Jonas Wagner
0246442da2
ALSA: Don't panic when handling invalid stream timestamps. (#886) 2024-05-13 00:40:06 +02:00
Philipp Schuster
8615160344
doc: improvements for SampleFormat (#885)
* doc: fix SampleFormat inconsistencies
* doc: add more documentation for SampleFormat
2024-05-12 17:28:53 +02:00
Genkagaku.GPT
8f1a9464a2
fix: asio failed by timeinfo flags type (#880) 2024-05-05 03:09:53 +02:00
coolkiid
ef95a03070
chore: fix a clippy warning (#871) 2024-03-28 21:53:01 +01:00
ky-bean
2ec761d30b
Add traits to SampleFormat's #[derive(...)] invocation (#864)
Specifically, `PartialOrd`, `Ord`, & `Hash`.
2024-03-14 03:22:57 +01:00
LucasFA
437d47f762
ci: Update docker images for arm (#865)
See https://github.com/cross-rs/cross/wiki/Configuration#builddockerfile
for context regarding the $CROSS_BASE_IMAGE environment variable. Here, it
resolves to
ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:{{cross_version}}

Relies on docker caching instead of pre-building the image.

Cross made the change to the GHCR on https://github.com/cross-rs/cross/pull/609

Add newline at EOF for some files.
2024-03-14 03:22:36 +01:00
Ame
ac6cbb2ba5
bump asio-sys crate (#858) 2024-03-05 01:32:34 +01: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
Ame
f894781e7e
Fix clippy warnings (#851) 2024-03-01 22:49:53 +01:00
Fredrik Fornwall
f3de611186
Fix minor variable mixup (#854) 2024-03-01 17:25:05 +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