27 lines
1.8 KiB
TypeScript
27 lines
1.8 KiB
TypeScript
/* Metro module 10750; source: modules/media_engine/MediaEngineActionCreators.tsx; dependencies: [4259, 4291, 694, 2] */
|
|
function _fun82660(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82660, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10936:6, offset: 0x01efda81, size: 136 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const mediaEngineStore = importDefault(4259) /* metro dependency 4259: MediaEngineStore */;
|
|
const env0_3 = (require(4291) /* metro dependency 4291: Constants */).MediaEngineContextTypes;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/media_engine/MediaEngineActionCreators.tsx');
|
|
exports.setPushToTalkState = setPushToTalkState;
|
|
}
|
|
|
|
function setPushToTalkState(a0) { // fn#82661, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10936:245, offset: 0x01efdb09, size: 124 bytes, params: 2, frame: 18
|
|
const value = a1;
|
|
const env0_0 = a0;
|
|
const r6 = value !== undefined ? value : false;
|
|
const defaultImport = importDefault(694) /* metro dependency 694: Dispatcher */;
|
|
defaultImport.dispatch({type: 'PUSH_TO_TALK_STATE_CHANGE', isActive: a0, isPriority: r6});
|
|
const mediaEngine = MediaEngineStore.getMediaEngine();
|
|
const eachConnection = mediaEngine.eachConnection;
|
|
const DEFAULT = MediaEngineContextTypes.DEFAULT;
|
|
Reflect.apply(eachConnection, mediaEngine, [_fun82662, DEFAULT]);
|
|
}
|
|
|
|
function _fun82662(a0) { // fn#82662, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10936:393, offset: 0x01efdb85, size: 33 bytes, params: 2, frame: 15
|
|
return a0.setForceAudioInput(env0_0, env0_1, false);
|
|
}
|
|
|