-
Notifications
You must be signed in to change notification settings - Fork 10
/
DolbyDigitalPlusDynamicRangeCompression.ts
33 lines (28 loc) · 1.24 KB
/
DolbyDigitalPlusDynamicRangeCompression.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 DolbyDigitalPlusDynamicRangeCompressionMode from './DolbyDigitalPlusDynamicRangeCompressionMode';
/**
* @export
* @class DolbyDigitalPlusDynamicRangeCompression
*/
export class DolbyDigitalPlusDynamicRangeCompression {
/**
* 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 {DolbyDigitalPlusDynamicRangeCompressionMode}
* @memberof DolbyDigitalPlusDynamicRangeCompression
*/
public lineMode?: DolbyDigitalPlusDynamicRangeCompressionMode;
/**
* RF mode is intended for products such as a low‐cost television receiver.
* @type {DolbyDigitalPlusDynamicRangeCompressionMode}
* @memberof DolbyDigitalPlusDynamicRangeCompression
*/
public rfMode?: DolbyDigitalPlusDynamicRangeCompressionMode;
constructor(obj?: Partial<DolbyDigitalPlusDynamicRangeCompression>) {
if(!obj) {
return;
}
this.lineMode = map(obj.lineMode);
this.rfMode = map(obj.rfMode);
}
}
export default DolbyDigitalPlusDynamicRangeCompression;