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. |
||
|---|---|---|
| .. | ||
| host | ||
| platform | ||
| error.rs | ||
| lib.rs | ||
| samples_formats.rs | ||
| traits.rs | ||