Audio: report silent DSP convolution output once #3614

Open
andrewpozdnakov7-jpg wants to merge 1 commit from upstream-pr/3614 into main
andrewpozdnakov7-jpg commented 2026-11-27 21:29:46 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-27T21:29:46Z.


Refs #3545. The current DSP path completes a convolution command by filling its output with silence. A stream can be activated without ever submitting a block, so activation alone gives limited evidence when investigating an absent voice channel.

The first actual silent convolution output now logs "audio DSP convolution wrote a silent block" once per process. The event includes the frame and channel counts. The command result, completion ticket and output samples follow the existing path.

A synthetic probe exercised a mono transform and two separate convolution streams. The main build reported zero of these events. The candidate reported one after the first convolution output. A submission without an output buffer reported none. All real outputs were zero and the completion tickets matched in both builds. The probe used generated buffers and was restored after the run.

All 154 HLE tests passed in both default and diagnostics builds. Both strict Clippy configurations, rustfmt for the changed file and the asset policy check passed.

Developed and tested with Codex assistance.

<!-- greyfinch-sync:Marvisak/VIctory:issue:5533323497 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/3614). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-27T21:29:46Z. --- Refs #3545. The current DSP path completes a convolution command by filling its output with silence. A stream can be activated without ever submitting a block, so activation alone gives limited evidence when investigating an absent voice channel. The first actual silent convolution output now logs "audio DSP convolution wrote a silent block" once per process. The event includes the frame and channel counts. The command result, completion ticket and output samples follow the existing path. A synthetic probe exercised a mono transform and two separate convolution streams. The main build reported zero of these events. The candidate reported one after the first convolution output. A submission without an output buffer reported none. All real outputs were zero and the completion tickets matched in both builds. The probe used generated buffers and was restored after the run. All 154 HLE tests passed in both default and diagnostics builds. Both strict Clippy configurations, rustfmt for the changed file and the asset policy check passed. Developed and tested with Codex assistance.
andrewpozdnakov7-jpg commented 2026-11-27 21:32:29 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-27T21:32:29Z.


Windows CI passed on 9a20e43. A synthetic probe captured one warning across output from two convolution streams. A mono transform and a submission without an output buffer produced none. The output samples and completion tickets matched main. Both local HLE configurations passed all 154 tests. Windows CI

For #3545, the new line records when a convolution command wrote its silent fallback during a run.

If reusing the change or its tests, please retain the Git author when cherry-picking or rebasing. If folding them into another commit, please add the trailer below.

Co-authored-by: andrewpozdnakov7-jpg [email protected]

<!-- greyfinch-sync:Marvisak/VIctory:comment:7228536282 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/3614#issuecomment-7228536282). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-27T21:32:29Z. --- Windows CI passed on `9a20e43`. A synthetic probe captured one warning across output from two convolution streams. A mono transform and a submission without an output buffer produced none. The output samples and completion tickets matched main. Both local HLE configurations passed all 154 tests. [Windows CI](https://github.com/Marvisak/VIctory/actions/runs/46070667569/job/140746585931) For #3545, the new line records when a convolution command wrote its silent fallback during a run. If reusing the change or its tests, please retain the Git author when cherry-picking or rebasing. If folding them into another commit, please add the trailer below. Co-authored-by: andrewpozdnakov7-jpg <[email protected]>
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3614:upstream-pr/3614'
git switch 'upstream-pr/3614'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/3614'
git switch 'upstream-pr/3614'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3614'
git switch 'upstream-pr/3614'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3614'
git switch 'main'
git merge --squash 'upstream-pr/3614'
git switch 'main'
git merge --ff-only 'upstream-pr/3614'
git switch 'main'
git merge 'upstream-pr/3614'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!3614
No description provided.