"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VoiceSettings = exports.KEY_TYPE = void 0; const Base_1 = require("./Base"); var KEY_TYPE; (function (KEY_TYPE) { KEY_TYPE[KEY_TYPE["KEYBOARD_KEY"] = 0] = "KEYBOARD_KEY"; KEY_TYPE[KEY_TYPE["MOUSE_BUTTON"] = 1] = "MOUSE_BUTTON"; KEY_TYPE[KEY_TYPE["KEYBOARD_MODIFIER_KEY"] = 2] = "KEYBOARD_MODIFIER_KEY"; KEY_TYPE[KEY_TYPE["GAMEPAD_BUTTON"] = 3] = "GAMEPAD_BUTTON"; })(KEY_TYPE || (exports.KEY_TYPE = KEY_TYPE = {})); class VoiceSettings extends Base_1.Base { /** * input settings */ input; /** * output settings */ output; /** * voice mode settings */ mode; /** * state of automatic gain control */ automatic_gain_control; /** * state of echo cancellation */ echo_cancellation; /** * state of noise suppression */ noise_suppression; /** * state of voice quality of service */ qos; /** * state of silence warning notice */ silence_warning; /** * state of self-deafen */ deaf; /** * state of self-mute */ mute; constructor(client, props) { super(client); Object.assign(this, props); this.input = props.input; this.output = props.output; this.mode = props.mode; this.automatic_gain_control = props.automatic_gain_control; this.echo_cancellation = props.echo_cancellation; this.noise_suppression = props.noise_suppression; this.qos = props.qos; this.silence_warning = props.silence_warning; this.deaf = props.deaf; this.mute = props.mute; } } exports.VoiceSettings = VoiceSettings;