Skip to content

Monitor explicitly chosen output devices for liveness #186

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

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

Pehrsons
Copy link
Contributor

This mirrors what is done for input devices, and enables the output tests. This fixes cubeb's behavior with Firefox when unplugging a device that is being played to with setSinkId and that does not affect the default device (we used to always install the default-output listener and therefore changes to the default device would trigger a reinit, which would result in an error if the device no longer exists).

Testing locally on MacOS 14 there appears to be no devicechange events
when the pluggable (aggregate) device used for tests is private.

It seems logical that there are no devicechange events for a device that
does not get exposed to other apps, and the app that created/destroyed
it should know that it did, indeed, create or destroy it.
This silences a warning on nightly rustc
@Pehrsons
Copy link
Contributor Author

I see this is a new take on #170, well let me know what you think.

@padenot padenot merged commit db0387f into trailblazer Nov 13, 2023
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