feat(audio) Add all three wasapi backends (shared, shared-low-latency, exclusive) - #691
Open
alex-ong wants to merge 23 commits into
Open
feat(audio) Add all three wasapi backends (shared, shared-low-latency, exclusive)#691alex-ong wants to merge 23 commits into
alex-ong wants to merge 23 commits into
Conversation
# Conflicts: # src/main.rs
alex-ong
marked this pull request as draft
September 7, 2026 11:53
# Conflicts: # crates/deadsync-shell/src/app/audio_requests.rs
alex-ong
marked this pull request as ready for review
September 8, 2026 02:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I investigated why the input latency on DeadSync was 30ms~ in shared mode vs 10ms~ in ITGMania
They both use Shared (non -low latency) by default, but deadsync uses the default buffersize, whereas ITGMania uses the minimum provided.Deadsync uses
0hnsbufferduration, which according to microsoft is "lowest"I did try with 0.5.755 build, and got 26~ms after syncing.
however with 0.5.1156, i get 1-4ms after syncing. so whatever was causing it to be slower in 0.5.755 is gone.
During this time, i exposed SharedLowLatency and Exclusive.
I get slightly lower sync offsets in shared low latency (3-6ms), but surprisingly higher in Exclusive, i am guessing the driver itself panics when set to its lowest, if i bump the buffer duration up slowly my global offset goes down at some magic point.