app/ = /opt/callrec (Node-Backend, Vite-Frontend, Python-Inferenz, Audio-Skripte, rkllm_server.cpp), system/ = systemd-Units, WirePlumber/PipeWire-Drop-ins, sudoers. Modelle, Binaries, Aufnahmen und node_modules bleiben draussen (.gitignore). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
615 B
Plaintext
19 lines
615 B
Plaintext
# es8323: S16 mode buggy -> force S24LE. Also rockchip-es8323 glitches under pw's
|
|
# MMAP/timer access (arecord RW is clean) -> force RW (disable-mmap) + big period.
|
|
monitor.alsa.rules = [
|
|
{
|
|
matches = [ { node.name = "~alsa_(input|output)\.platform-es8323-sound.*" } ]
|
|
actions = {
|
|
update-props = {
|
|
audio.format = "S24LE"
|
|
api.alsa.disable-mmap = true
|
|
api.alsa.disable-batch = true
|
|
api.alsa.period-size = 1024
|
|
api.alsa.headroom = 8192
|
|
session.suspend-timeout-seconds = 0
|
|
node.pause-on-idle = false
|
|
}
|
|
}
|
|
}
|
|
]
|