Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DirectSound: Strong noise after killing of app that using DirectSound on Windows 10 #3001

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Labels
wontfix This will not be worked on

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 2.1
Reported for operating system, platform: Windows 10, x86_64

Comments on the original bug report:

On 2018-10-01 20:54:23 +0000, Vitaly Novichkov wrote:

While running an audio stream by SDL Audio with using of DirectSound audio driver on Windows 10, the killing or suspending of application will cause a strong woodpecker noise that will never go away even after sound card driver toggling off/on. The only reboot is able to get rid of this.

However, after a little research, a simple DirectSound demo app also causes the reproducing of this bug:
https://www.codeproject.com/Articles/8396/Using-DirectSound-to-Play-Audio-Stream-Data

Possibly it's a bug of Windows 10 itself, or, sound card driver or Direct X itself.

Windows 10 Home 64-bit (10.0, Build 17134)

The sound card is ASUS Xonar DSX.

The bug was reported by a user of one of my projects. I did the test on my VM and bug doesn't reproduce.

The test was done on a 64-bit operating system with a 32-bit app build. The bug doesn't reproduce with a 64-bit app build.


Does anyone have a similar issue with this?

So, I'll report this to M$ right now. But maybe can you make a workaround for this?

On 2018-10-01 21:46:52 +0000, Sam Lantinga wrote:

This is a bug in Microsoft's DirectSound wrapper around WASAPI in Windows 10. We recommend using the SDL WASAPI driver directly to avoid these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant