* VRFS-3167 - call context.jamClient.FTUELoadAudioConfiguration when dialog is loaded

This commit is contained in:
Seth Call 2015-05-04 20:56:05 -05:00
parent 1a191f1b0b
commit 0ac94ae6fc
1 changed files with 9 additions and 0 deletions

View File

@ -181,6 +181,7 @@
configureTracksHelper.reset();
}
function beforeShow() {
profiles = gearUtils.getProfiles();
@ -194,6 +195,14 @@
context.JK.alertSupportedNeeded("Unable to determine the current profile.");
}
var result = context.jamClient.FTUELoadAudioConfiguration(currentProfile);
if(!result) {
logger.error("unable to activate audio configuration: " + currentProfile + ", " + JSON.stringify(result));
context.JK.alertSupportedNeeded("Unable to activate audio configuration for profile named: " + currentProfile);
return;
}
configureTracksHelper.reset();
voiceChatHelper.reset();
voiceChatHelper.beforeShow();