WASAPI magic - trick inside

Author
jonyjazy
Max Output Level: -90 dBFS
  • Total Posts : 10
  • Joined: 2012/11/19 17:48:32
  • Status: offline
2012/12/31 12:03:07 (permalink)

WASAPI magic - trick inside

Hello
I´ve been using the WASAPI drivers but have failed to go down below 8ms of latency. Below this value when I record everything gets weired on the recording file (althought I hear it ok when monitor recording).
After some experiment I managed to find the following entrance in the audio init file:
 
UseWDMDmaForWASAPI
 
and the value is true by default.
 
Setting it to False...voilá!
I get more latencies to choose for and Sonar now records/operates smoother them with ASIO at 5ms, and it can be lower settings too.
 
I hope this one works for people because Sonar has never been working so weel since this trick.
 
I just would like to know why this is not false by default....
 
Happy new year Cakewalkers
 
#1

1 Reply Related Threads

    Noel Borthwick [Cakewalk]
    Cakewalk Staff
    • Total Posts : 6475
    • Joined: 2003/11/03 17:22:50
    • Location: Boston, MA, USA
    • Status: offline
    Re:WASAPI magic - trick inside 2012/12/31 13:17:02 (permalink)
    Its not false by default because some drivers like the MOTU rely on the profiled DMA sizes as reported by the WDM interface. Unfortunately there is no way to query the driver's preferred sizes via WASAPI as far as I know, so I had to resort to using what the WDM driver reports. It is a good tip to turn it off if your driver doesn't care however :)

    Noel Borthwick
    Senior Manager Audio Core, BandLab
    My Blog, Twitter, BandLab Profile
    #2
    Jump to:
    © 2025 APG vNext Commercial Version 5.1