Update Audio Plugin.cpp
This commit is contained in:
parent
a3dada4af8
commit
69036bc984
|
@ -182,6 +182,10 @@ void CAudioPlugin::DacrateChanged(SYSTEM_TYPE Type)
|
||||||
|
|
||||||
void CAudioPlugin::AudioThread(CAudioPlugin * _this) {
|
void CAudioPlugin::AudioThread(CAudioPlugin * _this) {
|
||||||
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL);
|
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL);
|
||||||
|
if (g_Settings->LoadBool(Setting_CN64TimeCritical))
|
||||||
|
{
|
||||||
|
SetThreadPriority(GetCurrentThread(),THREAD_PRIORITY_HIGHEST);
|
||||||
|
}
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
_this->AiUpdate(true);
|
_this->AiUpdate(true);
|
||||||
|
|
Loading…
Reference in New Issue