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.
This commit is contained in:
Clownacy 2020-04-17 16:58:07 +01:00
parent c2a857d4f5
commit 76e7a6f857

View file

@ -62,7 +62,7 @@ static int ThreadFunction(int argc, const char *argv[])
if (organya_milliseconds == 0) if (organya_milliseconds == 0)
{ {
OSSleepTicks(ticks_per_second / 1000); OSSleepTicks(1);
} }
else else
{ {
@ -79,7 +79,7 @@ static int ThreadFunction(int argc, const char *argv[])
break; break;
} }
OSSleepTicks(ticks_per_second / 1000); OSSleepTicks(1);
} }
if (organya_callback != NULL) if (organya_callback != NULL)