[pr-fix][audio] The DSP convolution from Main: phone, headset and TV voices are heard again #702
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!702
Loading…
Reference in a new issue
No description provided.
Delete branch "untried844/Darner:audio-dsp-convolve"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What it changes
post-merge:crates/darner-hle/src/modules/dsp.rssays it itself: "The transforms themselves are not computed ... Outputs are silence, so reverb returns are dry." In play, voices the title sends through the DSP's convolution (phone calls, headset radio, the TV) are missing.This brings the convolution over from
Main:crates/darner-simdandcrates/darner-hle/src/modules/dsp/convolve.rsas they are there, anddsp.rswith it. The only difference fromMain'sdsp.rsis a localassert_layout!macro in its tests, which this line does not have elsewhere. No new code beyond that.How it was tested
Tested revision: this commit on
post-merge28a9b42.Commands and results:
cargo build --release --locked -p darner: builds.cargo test --release --locked -p darner-simdand-p darner-hle dsp: all pass, 0 failed.Changes a default: yes, for everyone: the DSP's outputs are computed where they were silence.
A/B result, same save:
28a9b42)A second tester (RTX 4070 S) reports the TV's sound back with a build holding this change.
Checks run on that revision:
cargo build, the tests above.cargo clippynot run.Gameplay: Intel Core i9-13900K · 32 GB DDR5-6400 (2 sticks) · NVIDIA GeForce RTX 4090 24 GB, driver 621.40 · Windows 11 Pro build 26300. Series X profile, 2560x1440 output, DLSS Quality (1712x960 render) and DLAA, HDR on, frame generation 2x, hardware ray tracing.
Hardware dependence: likely general (CPU only;
DARNER_SIMD_AUDIO=0takes the scalar loops).Coverage gaps: CPU cost not measured. Only phone calls checked by ear here.
Checklist
post-merge(28a9b42).Checked for overlap
Main)post-mergeThe change was written with a coding agent (AI-assisted) and run by me in the game.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.