decord/source/modules/user_settings/voice/AudioSettingsPending.tsx

34 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 14157
// Function ID: 14158
// Name: AudioSettingsPending
2026-07-29 08:29:29 +00:00
// Dependencies: [32, 2]
2026-07-20 16:05:17 +00:00
// Exports: drainPendingAudioSettings, getPendingAudioSettings, updatePendingSettings
// Module 14157 (AudioSettingsPending)
import _slicedToArray from "module_32" /* 32 */;
2026-07-23 10:11:24 +00:00
let dependencyMap = {};
const size = fn(2);
const result = size.fileFinishedImporting("modules/user_settings/voice/AudioSettingsPending.tsx");
2026-07-20 16:05:17 +00:00
export const getPendingAudioSettings = function getPendingAudioSettings(STREAM, arg1) {
return dependencyMap["" + STREAM + ":" + arg1];
2026-07-20 16:05:17 +00:00
};
export const updatePendingSettings = function updatePendingSettings(context, userId, arg2) {
2026-07-29 08:29:29 +00:00
const combined = "" + context + ":" + userId;
const merged = Object.assign(dependencyMap[combined]);
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(arg2);
2026-07-29 08:29:29 +00:00
dependencyMap[combined] = {};
2026-07-20 16:05:17 +00:00
};
export const drainPendingAudioSettings = function drainPendingAudioSettings(fn) {
2026-07-29 08:29:29 +00:00
for (const key10006 in closure_1) {
let tmp3 = _slicedToArray(key10006.split(":"), 2);
2026-07-29 08:29:29 +00:00
let items = [, ];
[arr[0], arr[1]] = tmp3;
let tmp4 = _slicedToArray(items, 2);
2026-07-29 08:29:29 +00:00
let tmp6 = arg0(tmp4[0], tmp4[1], dependencyMap[key10006]);
2026-07-23 10:11:24 +00:00
continue;
2026-07-20 16:05:17 +00:00
}
dependencyMap = {};
2026-07-20 16:05:17 +00:00
};