UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

68 lines (67 loc) 3.23 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var BaseAPI_1 = require("../../../common/BaseAPI"); var AacApi_1 = require("./aac/AacApi"); var DtsPassthroughApi_1 = require("./dtsPassthrough/DtsPassthroughApi"); var DtsApi_1 = require("./dts/DtsApi"); var DtsxApi_1 = require("./dtsx/DtsxApi"); var DolbyAtmosApi_1 = require("./dolbyAtmos/DolbyAtmosApi"); var HeAacV1Api_1 = require("./heAacV1/HeAacV1Api"); var HeAacV2Api_1 = require("./heAacV2/HeAacV2Api"); var PassthroughApi_1 = require("./passthrough/PassthroughApi"); var VorbisApi_1 = require("./vorbis/VorbisApi"); var OpusApi_1 = require("./opus/OpusApi"); var PcmApi_1 = require("./pcm/PcmApi"); var Ac3Api_1 = require("./ac3/Ac3Api"); var DolbyDigitalApi_1 = require("./dolbyDigital/DolbyDigitalApi"); var DolbyDigitalPlusApi_1 = require("./dolbyDigitalPlus/DolbyDigitalPlusApi"); var Eac3Api_1 = require("./eac3/Eac3Api"); var Mp2Api_1 = require("./mp2/Mp2Api"); var Mp3Api_1 = require("./mp3/Mp3Api"); /** * AudioApi - object-oriented interface * @export * @class AudioApi * @extends {BaseAPI} */ var AudioApi = /** @class */ (function (_super) { __extends(AudioApi, _super); function AudioApi(configuration) { var _this = _super.call(this, configuration) || this; _this.aac = new AacApi_1.default(configuration); _this.dtsPassthrough = new DtsPassthroughApi_1.default(configuration); _this.dts = new DtsApi_1.default(configuration); _this.dtsx = new DtsxApi_1.default(configuration); _this.dolbyAtmos = new DolbyAtmosApi_1.default(configuration); _this.heAacV1 = new HeAacV1Api_1.default(configuration); _this.heAacV2 = new HeAacV2Api_1.default(configuration); _this.passthrough = new PassthroughApi_1.default(configuration); _this.vorbis = new VorbisApi_1.default(configuration); _this.opus = new OpusApi_1.default(configuration); _this.pcm = new PcmApi_1.default(configuration); _this.ac3 = new Ac3Api_1.default(configuration); _this.dolbyDigital = new DolbyDigitalApi_1.default(configuration); _this.dolbyDigitalPlus = new DolbyDigitalPlusApi_1.default(configuration); _this.eac3 = new Eac3Api_1.default(configuration); _this.mp2 = new Mp2Api_1.default(configuration); _this.mp3 = new Mp3Api_1.default(configuration); return _this; } return AudioApi; }(BaseAPI_1.BaseAPI)); exports.default = AudioApi;