decord/alpha/source/modules/noise_cancellation/WindowsEffectsExperiment.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

31 lines
1.3 KiB
TypeScript

// Module ID: 9647
// Function ID: 9648
// Name: WindowsEffectsExperiment
// Dependencies: [1235, 1435, 504, 2]
// Exports: getWindowsAudioEffectsExperimentConfig, useWindowsAudioEffectsExperimentConfig
// Module 9647 (WindowsEffectsExperiment)
import ApexExperimentStore from "ApexExperimentStore" /* 1235 */;
const require = fn;
const obj = { preferSystemEffects: false };
const ApexExperiment = fn(1435);
const obj3 = { name: "2025-12-windows-audio-effects", kind: "user", defaultConfig: obj, variations: null };
const obj4 = { 1: null };
const obj5 = {};
const merged = Object.assign(obj);
obj5.preferSystemEffects = true;
obj4[1] = obj5;
obj3.variations = obj4;
const config = ApexExperiment.createApexExperiment(obj3);
const size = fn(2);
const result = size.fileFinishedImporting("modules/noise_cancellation/WindowsEffectsExperiment.tsx");
export const getWindowsAudioEffectsExperimentConfig = function getWindowsAudioEffectsExperimentConfig(location) {
return config.getConfig({ location: location.location });
};
export const useWindowsAudioEffectsExperimentConfig = function useWindowsAudioEffectsExperimentConfig(location) {
location = location.location;
const items = [ApexExperimentStore];
return location(504).useStateFromStores(items, () => config.getConfig({ location }));
};