@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
25 lines (24 loc) • 1.25 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DolbyDigitalPlusDownmixing = void 0;
var Mapper_1 = require("../common/Mapper");
/**
* Downmixing is used to reproduce the complete audio program when the actual decoder outputs do not match the encoded channel layout of the original audio signal. The process of downmixing takes the information in the channels that do not have corresponding outputs, and mixes this information into the remaining channels.
* @export
* @class DolbyDigitalPlusDownmixing
*/
var DolbyDigitalPlusDownmixing = /** @class */ (function () {
function DolbyDigitalPlusDownmixing(obj) {
if (!obj) {
return;
}
this.loRoCenterMixLevel = (0, Mapper_1.map)(obj.loRoCenterMixLevel);
this.ltRtCenterMixLevel = (0, Mapper_1.map)(obj.ltRtCenterMixLevel);
this.loRoSurroundMixLevel = (0, Mapper_1.map)(obj.loRoSurroundMixLevel);
this.ltRtSurroundMixLevel = (0, Mapper_1.map)(obj.ltRtSurroundMixLevel);
this.preferredMode = (0, Mapper_1.map)(obj.preferredMode);
}
return DolbyDigitalPlusDownmixing;
}());
exports.DolbyDigitalPlusDownmixing = DolbyDigitalPlusDownmixing;
exports.default = DolbyDigitalPlusDownmixing;