Write/Read
About Gain Compression

CompressionLevel Property


Description

Set and read the desired gain reduction (from reference gain).

This value is used for Compression Methods: Compression from Linear Gain and Compression from Maximum Gain.

 VB Syntax

gca.CompressionLevel = value

Variable

(Type) - Description

gca

A GainCompression (object)

value

(Double) - Compression level in dB. Choose a value greater than 0.1 dB.

Return Type

Double

Default

1

Examples

gca.CompressionLevel = 1.5 'Write

compLevel = gca.CompressionLevel 'Read

C++ Syntax

HRESULT get_CompressionLevel(double* pVal)

HRESULT put_CompressionLevel(double newVal)

Interface

IGainCompression