decord/source/modules/media_engine/AGC2Experiment.tsx

30 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 12640
// Function ID: 97253
2026-07-20 16:05:17 +00:00
// Name: getAGC2ExperimentConfig
// Dependencies: []
// Exports: getAGC2ExperimentConfig
2026-07-21 06:55:02 +00:00
// Module 12640 (getAGC2ExperimentConfig)
let obj = { "Null": null, "Null": "19.1.0", "Null": "angle", "Null": 90, "Null": null, "Null": 1, "Null": "text-xs/medium", "Null": "text-muted", "Null": 1 };
2026-07-20 16:05:17 +00:00
const _module = require(dependencyMap[0]);
2026-07-21 06:55:02 +00:00
obj = { friend_add_type: "isArray", source_page: "isArray", fontSize: "isArray" };
2026-07-20 16:05:17 +00:00
obj.noiseCancellationConfig = obj;
2026-07-21 06:55:02 +00:00
let closure_0 = _module.createApexExperiment({ defaultConfig: { noiseCancellationDuringProcessing: false, noiseCancellationConfig: { useAGC2: false } }, variations: { [1]: { noiseCancellationDuringProcessing: true, noiseCancellationConfig: { useAGC2: false } }, [2]: { noiseCancellationConfig: obj }, [3]: obj, [4]: { noiseCancellationConfig: obj }, [5]: { noiseCancellationConfig: obj }, [6]: { noiseCancellationConfig: obj } } });
2026-07-20 16:05:17 +00:00
const _module1 = require(dependencyMap[1]);
const result = _module1.fileFinishedImporting("modules/media_engine/AGC2Experiment.tsx");
export const getAGC2ExperimentConfig = function getAGC2ExperimentConfig(disable) {
let flag = disable.disable;
if (flag === undefined) {
flag = false;
}
let obj = closure_0;
if (flag) {
let defaultConfig = obj.definition.defaultConfig;
} else {
obj = { location: disable.location };
defaultConfig = obj.getConfig(obj);
}
return defaultConfig;
};