Skip to content

[Audio] Properly fix audio distortion#40

Merged
differrari merged 1 commit intodifferrari:mainfrom
1rjs:Audio
Sep 9, 2025
Merged

[Audio] Properly fix audio distortion#40
differrari merged 1 commit intodifferrari:mainfrom
1rjs:Audio

Conversation

@1rjs
Copy link
Copy Markdown
Contributor

@1rjs 1rjs commented Sep 9, 2025

The remaining distortion present in audio output through virtio manifested as 2 extra random-valued samples at the end of each buffer. This was due to an erroneous value for packet_size calculated when the output stream was configured.

Debugged and tested under Windows/WSL using Audacity to capture and inspect the audio output waveform. It also sounds ok too!

@differrari
Copy link
Copy Markdown
Owner

I either misinterpreted the spec, or the spec is wrong, but either way, this does seem to fix it, thank you for this

@differrari differrari merged commit 9ad67fc into differrari:main Sep 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants