92c1c2ec44
The WASAPI driver in ruby is a bit of an oddball. It has a fixed length circular queue for samples, and before this commit there was no logic to prevent queuing more than the requested "latency" number of samples or even to prevent the queue from overflowing entirely. In practice this wasn't much of an issue when audio or video synchronization were enabled and therefore bounding the rate of audio generation. It did not, however, play nice with the fast-forward feature, and it caused a noticeable pause after returning to normal speed as the queue drained from whatever level of fullness it had wrapped around to (effectively random but averaging over half a second). Now the length of the sample queue is (mostly) bounded to the "latency" parameter which is more consistent with the other drivers. Fixes #958 |
||
---|---|---|
.. | ||
audio | ||
input | ||
video | ||
GNUmakefile | ||
ruby.cpp | ||
ruby.hpp |