forked from mumble-voip/mumble
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX(client): Fix AudioWizard echo cancellation checkbox
The echo cancellation checkbox had two separate, but similar problems: 1) It would never load in a checked state when you open up the AudioWizard 2) It would also never load the correct checked state representing the user settings when switching AudioInput or AudioOutput systems. The first problem can be traced back to commit 0104375 where the state of qcbEcho depends on the selected element of the AudioOutput dropdown menu, before it has been filled. The second problem probably goes back to 2991d20 where the enabled state of the qcbEcho checkbox was changed on changing audio systems, but the checked state was not reloaded. This commit refactors the code (swaps initializing input and output) and adds a shared method to update the qcbEcho checkbox appropriately. Fixes mumble-voip#6544
- Loading branch information
Showing
2 changed files
with
31 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters