Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

native: reduce default software gain to 150% (was 200%)

At 200%, user reported "cranked way up" with tinny/distorted quality
like a PC beeper. soft_clip compressing hard above -12 dBFS on tiny
Chromebook speakers sounds harsh. 150% (2.25× linear) is audible at
normal levels without pushing into compression. Volume keys still
reach 400% for quieter hardware.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+7 -6
+7 -6
fedac/native/src/audio.c
··· 2480 2480 } 2481 2481 2482 2482 // Read initial system volume. On SOF cards there's no Master mixer 2483 - // and read_system_volume_card returns -1 — default to 200% so the 2484 - // speaker amp (which has -6dB headroom in the DSP pipeline) has 2485 - // enough gain to be audible at normal listening levels. 2483 + // and read_system_volume_card returns -1 — default to 150% (2.25× 2484 + // linear) which is loud enough on tiny Chromebook speakers without 2485 + // pushing soft_clip into audible distortion. Volume keys still go 2486 + // up to 400% for very quiet hardware. 2486 2487 int hw_vol = read_system_volume_card(card_idx); 2487 - audio->system_volume = (hw_vol >= 0) ? hw_vol : 200; 2488 + audio->system_volume = (hw_vol >= 0) ? hw_vol : 150; 2488 2489 fprintf(stderr, "[audio] System volume: %d%% (hw=%d)\n", 2489 2490 audio->system_volume, hw_vol); 2490 2491 ··· 3475 3476 audio->system_volume = hw_vol; 3476 3477 } else { 3477 3478 // No Master mixer — software gain mode (0..400%). 3478 - // 200% is the default boot volume on SOF cards; allow 3479 + // 150% is the default boot volume on SOF cards; allow 3479 3480 // keys to step up to 400 (16× linear) for quiet speakers. 3480 3481 int sv = audio->system_volume; 3481 - if (sv < 0) sv = 200; 3482 + if (sv < 0) sv = 150; 3482 3483 int step = 10; 3483 3484 if (delta > 0) sv = (sv + step > 400) ? 400 : sv + step; 3484 3485 else if (delta < 0) sv = (sv - step < 0) ? 0 : sv - step;