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

Changes to the system default audio output do not generate "devicechange" events and do not change enumerateDevices() results when [[storedDeviceList]] is not null #809

Closed
karlt opened this issue Aug 4, 2021 · 0 comments · Fixed by #815
Assignees

Comments

@karlt
Copy link
Contributor

karlt commented Aug 4, 2021

Changes to enumerateDevices() results and "devicechange" events are expected when there is more than one audio output device because the order of results should depend on which is the system default.

If device is the system default audio output, prepend deviceInfo to otherDeviceList. Otherwise, append deviceInfo to otherDeviceList.

enumerateDevices() uses [[storedDeviceList]] if not null, and so the device change notification steps should be executed for updated results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants