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:
parent
c2a857d4f5
commit
76e7a6f857
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ static int ThreadFunction(int argc, const char *argv[])
|
|||
|
||||
if (organya_milliseconds == 0)
|
||||
{
|
||||
OSSleepTicks(ticks_per_second / 1000);
|
||||
OSSleepTicks(1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -79,7 +79,7 @@ static int ThreadFunction(int argc, const char *argv[])
|
|||
break;
|
||||
}
|
||||
|
||||
OSSleepTicks(ticks_per_second / 1000);
|
||||
OSSleepTicks(1);
|
||||
}
|
||||
|
||||
if (organya_callback != NULL)
|
||||
|
|
Loading…
Add table
Reference in a new issue