-
Notifications
You must be signed in to change notification settings - Fork 11
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
Delay reinitialization when the stream is paused while the change happens #234
Conversation
6c22759
to
7deb2a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You removed the error early-exit guard on the result from the run_sync
block in start
. That needs to be fixed.
I think the test should also check that the audio unit has started, once start
with the delayed reinit returns success. Either by checking an internal state, or that the state callback fired a started event.
Consider the rest nits.
7deb2a2
to
88b1802
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I see a latent issue if start
fails. It might get exacerbated by adding reinit
to a path in start
.
…einitialize the stream next time it is started
…re the ones we expect before and after switching
88b1802
to
f04a50e
Compare
…while paused, or when starting fails
f04a50e
to
e8f19e4
Compare
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1907780