* VRFS-3167 - call context.jamClient.FTUELoadAudioConfiguration when dialog is loaded
This commit is contained in:
parent
1a191f1b0b
commit
0ac94ae6fc
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue