UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

29 lines (28 loc) 943 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Eac3AudioConfiguration = void 0; const Mapper_1 = require("../common/Mapper"); const AudioConfiguration_1 = require("./AudioConfiguration"); const CodecConfigType_1 = require("./CodecConfigType"); /** * @export * @class Eac3AudioConfiguration */ class Eac3AudioConfiguration extends AudioConfiguration_1.default { constructor(obj) { super(obj); /** * Discriminator property for CodecConfiguration * @type {string} * @memberof Eac3AudioConfiguration */ this.type = CodecConfigType_1.default.EAC3; if (!obj) { return; } this.channelLayout = (0, Mapper_1.map)(obj.channelLayout); this.cutoffFrequency = (0, Mapper_1.map)(obj.cutoffFrequency); } } exports.Eac3AudioConfiguration = Eac3AudioConfiguration; exports.default = Eac3AudioConfiguration;