Skip to content

Commit 22756a4

Browse files
committed
update modern audio
1 parent a409c9a commit 22756a4

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

oclp_r/application_entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self) -> None:
3838
self.constants: constants.Constants = constants.Constants()
3939
self.trans= TranslateLanguage(self.constants).application_entry()
4040

41-
41+
4242

4343
logging_handler.InitializeLoggingSupport(self.constants)
4444

oclp_r/sys_patch/patchsets/hardware/audio/modern_audio.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ def present(self) -> bool:
3535
"""
3636
AppleHDA was outright removed in macOS 26, so this patch set is always present if OS requires it
3737
"""
38-
if utilities.check_kext_loaded("org.voodoo.driver.VoodooHDA") != "" and self._constants.audio_type != "AppleHDA":
39-
self._constants.audio_type = "AppleHDA"
4038
return self._constants.audio_type == "AppleHDA"
4139

4240
def requires_kernel_debug_kit(self) -> bool:
@@ -75,6 +73,15 @@ def _modern_audio_patches(self) -> dict:
7573
"AppleHDA.kext": f"{self._constants.applehda_version}",
7674
},
7775
},
76+
PatchType.REMOVE_SYSTEM_VOLUME:{
77+
"/Library/Extensions":[
78+
"VoodooHDA.kext",
79+
"AppleHDADisabler.kext",
80+
],
81+
"/Library/PreferencePanes":[
82+
'VoodooHDA.prefPane',
83+
]
84+
},
7885
},
7986
}
8087

0 commit comments

Comments
 (0)