35 lines
2.7 KiB
TypeScript
35 lines
2.7 KiB
TypeScript
/* Metro module 12417; source: modules/media_engine/AGC2Experiment.tsx; dependencies: [1854, 2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ApexModule from '../experiments/apex/index.tsx'; /* Metro dependency 1854 */
|
|
|
|
function _fun94713(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12603:6, offset: 0x02124636, size: 318 bytes, params: 8, frame: 24
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {'useAGC2': true, 'enableAnalog': false, 'enableDigital': true, 'headroom_db': 5, 'max_gain_db': 50,
|
|
'initial_gain_db': 15, 'max_gain_change_db_per_second': 6, 'max_output_noise_level_dbfs': -50,
|
|
'fixed_gain_db': 0};
|
|
const env0_0 = (ApexModule).createApexExperiment({'kind': 'user',
|
|
'name': '2025-09-agc2-v2', defaultConfig: {noiseCancellationDuringProcessing: false,
|
|
noiseCancellationConfig: {useAGC2: false}}, variations: {[1]: {noiseCancellationDuringProcessing: true,
|
|
noiseCancellationConfig: {useAGC2: false}}, [2]: {'noiseCancellationDuringProcessing': true,
|
|
'noiseCancellationConfig': null, 'vadKrispActivationThreshold': 0.5, noiseCancellationConfig: object},
|
|
[3]: {'noiseCancellationDuringProcessing': true, 'noiseCancellationConfig': null,
|
|
'vadKrispActivationThreshold': 0.55, noiseCancellationConfig: object},
|
|
[4]: {'noiseCancellationDuringProcessing': true, 'noiseCancellationConfig': null,
|
|
'vadKrispActivationThreshold': 0.6, noiseCancellationConfig: object},
|
|
[5]: {'noiseCancellationDuringProcessing': true, 'noiseCancellationConfig': null,
|
|
'vadKrispActivationThreshold': 0.65, noiseCancellationConfig: object},
|
|
[6]: {'noiseCancellationDuringProcessing': true, 'noiseCancellationConfig': null,
|
|
'vadKrispActivationThreshold': 0.7, noiseCancellationConfig: object}}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/media_engine/AGC2Experiment.tsx');
|
|
exports.getAGC2ExperimentConfig = getAGC2ExperimentConfig;
|
|
function getAGC2ExperimentConfig({location, disable}) { // fn#94714, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12603:1113, offset: 0x021245f5, size: 65 bytes, params: 2, frame: 12
|
|
disable = !(disable === undefined) && disable;
|
|
const binding = env0_0;
|
|
return disable ? binding.definition.defaultConfig : binding.getConfig({location: location});
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun94713, 12417, [1854, 2]) /* metro module 12417, dependencies: [1854, 2] */;
|