Code Monkey home page Code Monkey logo

Comments (2)

dechamps avatar dechamps commented on May 29, 2024

WASAPI exclusive mode is full of stutters no matter what the suggested latency and buffer size is.

Yeah, sadly, the WASAPI backend code could probably use some work. And the WDM-KS backend is in an even worse state I'm afraid, suffering from severe issues like PortAudio/portaudio#763.

When switching to WDM-KS mode, the first few times I would get bluescreens whenever I started to play audio giving me "WDF Violation."

This points to a bug in the Windows audio device driver. Userland code (which includes applications, and FlexASIO) cannot be held responsible for BSODs, although they can indirectly trigger them by surfacing pre-existing bugs in device drivers that do not correctly check userland inputs.

WDM-KS triggering bugs in drivers is not too surprising given WDM-KS allows apps to talk directly to device drivers, leaving them exposed to code paths that would not normally be taken when the audio device is being used in the "normal" way (i.e. through the standard Windows audio stack).

from flexasio.

darkenwarlock avatar darkenwarlock commented on May 29, 2024

WASAPI exclusive mode is full of stutters no matter what the suggested latency and buffer size is.

Yeah, sadly, the WASAPI backend code could probably use some work. And the WDM-KS backend is in an even worse state I'm afraid, suffering from severe issues like PortAudio/portaudio#763.

When switching to WDM-KS mode, the first few times I would get bluescreens whenever I started to play audio giving me "WDF Violation."

This points to a bug in the Windows audio device driver. Userland code (which includes applications, and FlexASIO) cannot be held responsible for BSODs, although they can indirectly trigger them by surfacing pre-existing bugs in device drivers that do not correctly check userland inputs.

WDM-KS triggering bugs in drivers is not too surprising given WDM-KS allows apps to talk directly to device drivers, leaving them exposed to code paths that would not normally be taken when the audio device is being used in the "normal" way (i.e. through the standard Windows audio stack).

Thank you for the reply! Also, yes, I'm not blaming the issue on you, and I understand the BSOD is caused by an issue with the driver. I just thought I would report this as I did not know if it has already been reported or not. I will e-mail the DAC developer and see if they plan on a proprietary driver as it currently uses a default Windows audio driver.

Thank you for the reply though. I appreciate it!

from flexasio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.