dolphin/Source/Core
Scott Mansell a10a3ecbac 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.
2015-10-03 16:31:55 +13:00
..
AudioCommon ALSA: Don't block on Clear() call. 2015-10-03 16:31:55 +13:00
Common Merge pull request #3075 from waddlesplash/no-regexp 2015-10-02 04:00:23 +13:00
Core Merge pull request #3118 from lioncash/junk 2015-10-03 16:21:00 +13:00
DiscIO Merge pull request #3099 from lioncash/banner 2015-09-29 03:49:08 +02:00
DolphinQt Merge pull request #3075 from waddlesplash/no-regexp 2015-10-02 04:00:23 +13:00
DolphinWX Merge pull request #3075 from waddlesplash/no-regexp 2015-10-02 04:00:23 +13:00
InputCommon InputCommon: Use NSNumber numeric literals in Obj-C code 2015-10-02 13:23:46 -04:00
UICommon [windows] Update projects to vs2015. 2015-09-03 04:23:01 -07:00
VideoBackends Merge pull request #3075 from waddlesplash/no-regexp 2015-10-02 04:00:23 +13:00
VideoCommon Merge pull request #3075 from waddlesplash/no-regexp 2015-10-02 04:00:23 +13:00
CMakeLists.txt