From 5696c3d0f19cf387c1a707511bfd6d25d504f804 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Fri, 30 Dec 2022 14:24:15 -0500 Subject: [PATCH] Fix HDAudio driver for machines with less than 3 cores. --- src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC b/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC index c487a48b..df60f5b6 100644 --- a/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC +++ b/src/Home/Sound/HDAudio1/Sup1HDAudio/HDAudio.ZC @@ -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)