Respect results of WOA.
[AE/CA] Only restore the default format if we ask for it.
[AE/CA] Simplify the ResetAudioDevices code and make sure it actually works

The old code failed to reset devices set in Encoded mode and it was
going about it in a fashion that duplicated a lot of code. This removes
all the custom code and uses already exisisting functions and that
actually makes the code functional.
[Fix][HttpResponse] Fix  %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[cosmetics] - fixed typo - sucess* -> success*
Merge pull request #3617 from t-nelson/respect_woa

Respect results of WOA.
Merge pull request #3818 from Memphiz/osxresetaudio

[osx/ae/ca] - fix ResetAudioDevices
[confluence] DialogYesNo.xml: replace 3 separate lines with a textbox
videodb: use single text instead of two separate lines for "Source unavailable" dialog
peripherals: fix order of peripheral device settings
videodb: fix "Stop scanning" from context menu not working anymore since e20e7e066845538b1d071b2d4081465fc5d819cb
Merge pull request #3849 from ace20022/check_utils1

[Fix][HttpResponse] Fix possible arithmetic overflow