@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
32 lines (31 loc) • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DtsXAudioConfiguration = void 0;
const Mapper_1 = require("../common/Mapper");
const AudioConfiguration_1 = require("./AudioConfiguration");
const CodecConfigType_1 = require("./CodecConfigType");
/**
* The configuration for the DTS:X
* @export
* @class DtsXAudioConfiguration
*/
class DtsXAudioConfiguration extends AudioConfiguration_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for CodecConfiguration
* @type {string}
* @memberof DtsXAudioConfiguration
*/
this.type = CodecConfigType_1.default.DTSX;
if (!obj) {
return;
}
this.channelLayout = (0, Mapper_1.map)(obj.channelLayout);
this.lkfsValue = (0, Mapper_1.map)(obj.lkfsValue);
this.ottLoudnessMode = (0, Mapper_1.map)(obj.ottLoudnessMode);
this.syncInterval = (0, Mapper_1.map)(obj.syncInterval);
}
}
exports.DtsXAudioConfiguration = DtsXAudioConfiguration;
exports.default = DtsXAudioConfiguration;