-
Notifications
You must be signed in to change notification settings - Fork 10
/
DolbyDigitalDynamicRangeCompression.ts
33 lines (28 loc) · 1.19 KB
/
DolbyDigitalDynamicRangeCompression.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
import {map, mapArray} from '../common/Mapper';
import DolbyDigitalDynamicRangeCompressionMode from './DolbyDigitalDynamicRangeCompressionMode';
/**
* @export
* @class DolbyDigitalDynamicRangeCompression
*/
export class DolbyDigitalDynamicRangeCompression {
/**
* Line mode is intended for use in products providing line‐level or speaker‐level outputs, and is applicable to the widest range of products. Products such as set‐top boxes, DVD players, DTVs, A/V surround decoders, and outboard Dolby Digital decoders typically use this mode.
* @type {DolbyDigitalDynamicRangeCompressionMode}
* @memberof DolbyDigitalDynamicRangeCompression
*/
public lineMode?: DolbyDigitalDynamicRangeCompressionMode;
/**
* RF mode is intended for products such as a low‐cost television receivers.
* @type {DolbyDigitalDynamicRangeCompressionMode}
* @memberof DolbyDigitalDynamicRangeCompression
*/
public rfMode?: DolbyDigitalDynamicRangeCompressionMode;
constructor(obj?: Partial<DolbyDigitalDynamicRangeCompression>) {
if(!obj) {
return;
}
this.lineMode = map(obj.lineMode);
this.rfMode = map(obj.rfMode);
}
}
export default DolbyDigitalDynamicRangeCompression;