atem-connection
Version:
Typescript Node.js library for connecting with an ATEM switcher.
32 lines • 1.5 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FairlightMixerMasterLevelsUpdateCommand = void 0;
const CommandBase_1 = require("../CommandBase");
class FairlightMixerMasterLevelsUpdateCommand extends CommandBase_1.DeserializedCommand {
static deserialize(rawCommand) {
const properties = {
inputLeftLevel: rawCommand.readInt16BE(0),
inputRightLevel: rawCommand.readInt16BE(2),
inputLeftPeak: rawCommand.readInt16BE(4),
inputRightPeak: rawCommand.readInt16BE(6),
compressorGainReduction: rawCommand.readInt16BE(8),
limiterGainReduction: rawCommand.readInt16BE(10),
outputLeftLevel: rawCommand.readInt16BE(12),
outputRightLevel: rawCommand.readInt16BE(14),
outputLeftPeak: rawCommand.readInt16BE(16),
outputRightPeak: rawCommand.readInt16BE(18),
leftLevel: rawCommand.readInt16BE(20),
rightLevel: rawCommand.readInt16BE(22),
leftPeak: rawCommand.readInt16BE(24),
rightPeak: rawCommand.readInt16BE(26),
};
return new FairlightMixerMasterLevelsUpdateCommand(properties);
}
applyToState() {
// Not stored in the state
return [];
}
}
exports.FairlightMixerMasterLevelsUpdateCommand = FairlightMixerMasterLevelsUpdateCommand;
FairlightMixerMasterLevelsUpdateCommand.rawName = 'FDLv';
//# sourceMappingURL=FairlightMixerMasterLevelsCommand.js.map