diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-09-30 00:51:34 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-10-03 16:31:55 +1300 |
| commit | a10a3ecbaccbbbdc31be5898cbc9a88ab2d8b872 (patch) | |
| tree | 9b57a28c4b3cd70a73102b2f7e87cc9127027b55 /Source/Core/VideoCommon/VertexLoaderBase.cpp | |
| parent | 6658d21215e459591ffc1c007def8e015ee4b4d9 (diff) | |
ALSA: Don't block on Clear() call.
snd_pcm_writei() is meant to block block until all samples are written,
but apparently in some situations it can block for much longer, prehaps
even a infinite time, in the case of virtual machine FifoCI runs in.
Because it grabed a mutex before blocking, it could also block the
Clear() call for an infinite length of time, blocking dolphin's emu
thread.
snd_pcm_writei() also takes 10-15 seconds if you run dolphin under GDB
and can randomly take 5 or so seconds during normal usage.
By moving all the pause code to the ALSA thread, Clear() no-longer
blocks and everyone keeps their sanity.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp')
0 files changed, 0 insertions, 0 deletions
