Files
bananarchy/overlay/rootfs/home/user/.config/wireplumber/wireplumber.conf.d/msm8916-s16le.conf
T
Luxferre 4f73c28e5e Fix WCD 48 kHz interpolators, CAJON analog codec, PipeWire mono downmix, and gain staging for a1125 (ampere)
- Add patches/kernel/0015-msm8909-wcd-digital-interpolator-cajon-analog.patch
  and rebuild kernel + audio codec modules (prebuilt/ + overlay/rootfs/)
  so REGCACHE_FLAT keeps 48 kHz POR interpolator/decimator defaults
  (RX1/2/3_B5_CTL=0x68, TX1/2_CLK_FS_CTL=0x03) and PM8909 CAJON_2_0
  analog defaults, non-boost Class-D SPK PA, HPH DAC/PA sequencing,
  EAR +6 dB headroom, and pm8909_s2 wakeup restore apply cleanly.
- Add WirePlumber create-item.lua item.features.mono = true support and
  PipeWire client drop-ins so Speaker and Earpiece present a positioned
  [ MONO ] PortConfig (0.5 * FL + 0.5 * FR with channelmix.normalize = true
  and triangular TPDF dithering) over 2 ch 48 kHz S16LE hardware while
  keeping Headphones and Bluetooth A2DP sinks stereo.
- Sync unity 100% PipeWire software sink volume when card0 is present
  and cap UCM2/plugin digital ALSA playback ceiling at <= 84 (0 dB).
- Add scripts/test-audio-quality.py wired into scripts/check-rebuild.sh,
  pin all 7 rebuilt a1125 (ampere) image SHA-256 hashes, and update
  CHANGELOG.md, MANUAL.md, and AGENTS.md.
2026-11-23 19:53:06 +02:00

60 lines
1.1 KiB
Plaintext

monitor.alsa.rules = [
{
matches = [
{
device.name = "alsa_card.comprC0"
}
]
actions = {
update-props = {
device.disabled = true
}
}
},
{
matches = [
{
node.name = "~alsa_output.platform-7702000.*"
},
{
node.name = "~alsa_output.platform-sound.*"
},
{
node.name = "~alsa_input.platform-7702000.*"
},
{
node.name = "~alsa_input.platform-sound.*"
}
]
actions = {
update-props = {
audio.format = "S16LE"
audio.rate = 48000
dither.method = "triangular"
}
}
},
{
matches = [
{
node.name = "~alsa_output.platform-7702000.*.HiFi__Speaker__sink"
},
{
node.name = "~alsa_output.platform-sound.*.HiFi__Speaker__sink"
},
{
node.name = "~alsa_output.platform-7702000.*.HiFi__Earpiece__sink"
},
{
node.name = "~alsa_output.platform-sound.*.HiFi__Earpiece__sink"
}
]
actions = {
update-props = {
item.features.mono = true
channelmix.normalize = true
}
}
}
]