Skip to content

Monitor explicitly chosen output devices for liveness#186

Merged
padenot merged 3 commits intotrailblazerfrom
live-output
Nov 13, 2023
Merged

Monitor explicitly chosen output devices for liveness#186
padenot merged 3 commits intotrailblazerfrom
live-output

Conversation

@Pehrsons
Copy link
Copy Markdown
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
Copy Markdown
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