-
public class DynamicRangeCompressionConfigConfiguration class for dynamic range compression settings. This class provides the ability to enable or disable dynamic range compression and set the parameters for compression, such as threshold and ratio.
-
-
Constructor Summary
Constructors Constructor Description DynamicRangeCompressionConfig(boolean isEnabled, double threshold, double ratio)Creates a new configuration for dynamic range compression. DynamicRangeCompressionConfig(boolean isEnabled)Constructs a new configuration for dynamic range compression with default threshold and ratio values.
-
Method Summary
Modifier and Type Method Description booleanisEnabled()Determines if the dynamic range compression is enabled. doublegetThreshold()Retrieves the threshold value for dynamic range compression. doublegetRatio()Retrieves the compression ratio applied during dynamic range compression. StringtoString()-
-
Constructor Detail
-
DynamicRangeCompressionConfig
DynamicRangeCompressionConfig(boolean isEnabled, double threshold, double ratio)
Creates a new configuration for dynamic range compression.- Parameters:
isEnabled- Indicates whether dynamic range compression is enabled.threshold- The threshold (in decibels) above which compression will occur.ratio- The ratio of compression applied once the threshold is exceeded.
-
DynamicRangeCompressionConfig
DynamicRangeCompressionConfig(boolean isEnabled)
Constructs a new configuration for dynamic range compression with default threshold and ratio values.- Parameters:
isEnabled- Indicates whether dynamic range compression is enabled.
-
-
Method Detail
-
isEnabled
boolean isEnabled()
Determines if the dynamic range compression is enabled.
-
getThreshold
double getThreshold()
Retrieves the threshold value for dynamic range compression.
-
getRatio
double getRatio()
Retrieves the compression ratio applied during dynamic range compression.
-
-
-
-