refactor: reorganize client constants

This commit is contained in:
2026-07-20 22:13:51 +02:00
parent 05cf7fc26c
commit 455585eeb6
3 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -615,7 +615,7 @@ pub fn raw_to_ratio(value: u16) -> Result<types::Ratio, MapperError> {
pub fn knee_db_to_raw(db: u16) -> Result<u16, MapperError> {
validate_range(
db,
client_constants::COMPRESSOR_KNEE_DB_RANGE,
client_constants::KNEE_DB_RANGE,
|| format!("Invalid compressor knee: {db}"),
)?;