thestk / rtaudio

A set of C++ classes that provide a common API for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X (CoreAudio and JACK), and Windows (DirectSound, ASIO, and WASAPI) operating systems.
Other
1.49k stars 317 forks source link

WASAPI broken on master, callback called with 20k Hz rate #433

Open Daninet opened 2 months ago

Daninet commented 2 months ago

I'm getting no sound through WASAPI. The callback function is called too fast (20k times / sec), without waiting for the buffer to be played. There is no sound output, but it might be caused by my implementation not being able to deliver 20k buffers / sec.

I tried to bisect it, and I think it's caused by this PR (last commit on master): https://github.com/thestk/rtaudio/pull/431

The commit before works without any issues: https://github.com/thestk/rtaudio/commit/c5993f01df32421d9fd6bdf693cf0fa110613f89

Xenakios commented 1 month ago

Also having the same issue, no sound from WASAPI. Going back to commit c5993f0 works.

lalitshankarchowdhury commented 6 hours ago

Please check if #435 fixes this.