cpal/src/host/alsa
Jacob Hughes 6b91485781 ALSA: Fix 100% CPU usage after underrun
With my previous patch, after an underrun occurred sometimes polling the
alsa FDs would always return POLLIN immediately, but avail_frames would
be zero. Eventually avail_frames would become nonzero and audio output
would work, but poll would still return immediately afterwards.

Calling `stream.prepare()` when this happens seems to fix the issue after
a few loops.
2020-09-01 12:31:06 -04:00
..
enumerate.rs Ignore play/pause errors for ALSA Stream 2020-04-12 13:11:35 -04:00
mod.rs ALSA: Fix 100% CPU usage after underrun 2020-09-01 12:31:06 -04:00