mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-24 22:50:28 +00:00
Fix HDAudio driver for machines with less than 3 cores.
This commit is contained in:
parent
8106bf6c02
commit
5696c3d0f1
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ public Bool HDAudioInit(I64 hd_bus, I64 hd_dev, I64 hd_fun)
|
|||
LBtr(&snd_flags, Sf_FILLING_OUT);
|
||||
hda.audio_task_started = FALSE;
|
||||
if (mp_count > 1)
|
||||
hda.task = Spawn(&HDAudioTask, NULL, "HD Audio", 3);
|
||||
hda.task = Spawn(&HDAudioTask, NULL, "HD Audio", mp_count - 1);
|
||||
else
|
||||
hda.task = Spawn(&HDAudioTask, NULL, "HD Audio");
|
||||
while (!hda.audio_task_started)
|
||||
|
|
Loading…
Reference in a new issue