ares-openbsd/ruby
invertego 92c1c2ec44
ruby: queue no more than "latency" samples in wasapi driver (#1292)
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
2023-11-18 13:44:36 +00:00
..
audio ruby: queue no more than "latency" samples in wasapi driver (#1292) 2023-11-18 13:44:36 +00:00
input ruby: fix an issue where weak/strong rumble motors were swapped 2023-08-15 22:06:22 +01:00
video ruby: use DwmFlush on Windows rather than OpenGL Swap Interval 2023-08-24 15:51:55 +01:00
GNUmakefile
ruby.cpp
ruby.hpp