-
Notifications
You must be signed in to change notification settings - Fork 10
/
DolbyAtmosIngestInputStream.ts
51 lines (44 loc) · 1.43 KB
/
DolbyAtmosIngestInputStream.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import {map, mapArray} from '../common/Mapper';
import DolbyAtmosInputFormat from './DolbyAtmosInputFormat';
import InputStream from './InputStream';
import InputStreamType from './InputStreamType';
/**
* @export
* @class DolbyAtmosIngestInputStream
*/
export class DolbyAtmosIngestInputStream extends InputStream {
/**
* Discriminator property for InputStream
* @type {string}
* @memberof DolbyAtmosIngestInputStream
*/
public readonly type: InputStreamType = InputStreamType.DOLBY_ATMOS;
/**
* Id of input (required)
* @type {string}
* @memberof DolbyAtmosIngestInputStream
*/
public inputId?: string;
/**
* Path to the Dolby Atmos input file (required)
* @type {string}
* @memberof DolbyAtmosIngestInputStream
*/
public inputPath?: string;
/**
* Input file format of the Dolby Atmos input file. Set it to DAMF if the given input file is a Dolby Atmos Master File (.atmos). Set it to ADM if the given input file is an Audio Definition Model Broadcast Wave Format file (.wav) (required)
* @type {DolbyAtmosInputFormat}
* @memberof DolbyAtmosIngestInputStream
*/
public inputFormat?: DolbyAtmosInputFormat;
constructor(obj?: Partial<DolbyAtmosIngestInputStream>) {
super(obj);
if(!obj) {
return;
}
this.inputId = map(obj.inputId);
this.inputPath = map(obj.inputPath);
this.inputFormat = map(obj.inputFormat);
}
}
export default DolbyAtmosIngestInputStream;