Closed foglio1024 closed 7 months ago
Seems to be a CPU performance problem with your machine, since previewer doesn't interact with GPU and audio APIs in any way. It's just a background process that sends SW-rendered frames over a socket to our visual studio plugin.
Describe the bug
When visualizing the XAML preview inside Visual Studio 2022, any playing audio (e.g. browser, Spotify, etc.) crackles and stutters. This becomes more severe when using low latency ASIO audio drivers for external audio interfaces.
To Reproduce
Steps to reproduce the behavior:
StackPanel
with someButton
s inside.Expected behavior
Interacting with the live preview should not affect audio playback or mouse movements.
Screenshots
YouTube video demonstrating the issue happening even with the most possible audio samples (1024) and therefore the most audio driver stability (this is usually kept as low as possible for low latency applications though). The audio issue is very noticeable towards the end of the clip. The mouse movement issue is less visible, but it should be noticeable with a close look.
Environment
Additional context
More complex layouts with running animations can cause the issue even without zooming in or interacting with the previewer.