fix/gain-4dbU (#25)

Co-authored-by: Pbopbo <p.obernesser@freenet.de>
Reviewed-on: #25
This commit was merged in pull request #25.
This commit is contained in:
2026-04-09 09:54:14 +00:00
parent 6e633d2880
commit 0b12323921
4 changed files with 139 additions and 68 deletions

View File

@@ -55,7 +55,6 @@ class AuracastBigConfig(BaseModel):
precode_wav: bool = False
iso_que_len: int = 64
num_bis: int = 1 # 1 = mono (FRONT_LEFT), 2 = stereo (FRONT_LEFT + FRONT_RIGHT)
input_gain_db: float = 0.0 # Software gain boost in dB applied before LC3 encoding (0 = off, max 20)
class AuracastBigConfigDeu(AuracastBigConfig):
id: int = 12
@@ -112,4 +111,5 @@ class AuracastConfigGroup(AuracastGlobalConfig):
bigs: List[AuracastBigConfig] = [
AuracastBigConfigDeu(),
]
analog_gain: int = 50 # ADC gain level for analog mode (10-60%)
analog_gain_db_left: float = 0.0 # ADC gain level for analog mode left channel (-12 to 18 dB)
analog_gain_db_right: float = 0.0 # ADC gain level for analog mode right channel (-12 to 18 dB)