Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added supports_input/output methods to DeviceTrait #920

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

jesnor
Copy link
Contributor

@jesnor jesnor commented Oct 15, 2024

Only WASAPI overrides the default method implementations, other hosts work the same as before (iterating over configs) but they can potentially be optimized later.

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

This fixes issue #867

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
@est31 est31 merged commit 582e93c into RustAudio:master Nov 3, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants