ref: 76e7a6f857a99ad1be5543ecf044b3d4efbe4a39
parent: c2a857d4f5184ccf6b2c73d9d7a11c7c8d1d67b8
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Apr 17 12:58:07 EDT 2020
Revert some suspicious code I'm getting some rare audio hangs. I tried doing some regression-testing, but it's so random that I'm getting anomalous results. That said, there were suspicious results around this change (and also the way `mix_data` is initialised/cleared), so I'm reverting this for now, and restoring it next time I encounter a hang.
--- a/src/Backends/Audio/WiiU.cpp
+++ b/src/Backends/Audio/WiiU.cpp
@@ -62,7 +62,7 @@
if (organya_milliseconds == 0)
{
- OSSleepTicks(ticks_per_second / 1000);
+ OSSleepTicks(1);
}
else
{
@@ -79,7 +79,7 @@
break;
}
- OSSleepTicks(ticks_per_second / 1000);
+ OSSleepTicks(1);
}
if (organya_callback != NULL)