Wasapi exclusive mode with external hardware - the event driven callback time changes unexpectedly

  • Thread starter Thread starter kotisi
  • Start date Start date
K

kotisi

Guest
I've got a simple program running in Windows 10, that allows connection with a hardware device. The hardware device is a DJ controller, connected via USB to the laptop, and the hardware supports WASAPI mode.Sine tone audio is sent to the device via WASAPI exclusive mode, using event driven buffering. The callback buffer size is set to 160 samples, and sample rate is 44.1kHz ( 160 / 44100 = 3.6 msecs callback time).If I use my program to output to the laptop speakers, the audio processing works fine for hours. However, if I connect to the external hardware (the DJ equipment via USB in this case

Continue reading...
 
Back
Top