Skip to content

Commit 116053e

Browse files
committed
Update audio check
1 parent 8f591ec commit 116053e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

oclp_r/wx_gui/gui_settings.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@ def _generate_elements(self, frame: wx.Frame = None) -> None:
255255
if height > lowest_height_reached:
256256
lowest_height_reached = height
257257
def audio_check(self):
258-
if utilities.check_kext_loaded("com.apple.driver.AppleHDA")!="" or utilities.check_kext_loaded("as.vit9696.AppleALC") !="":
259-
self.constants.audio_type="AppleHDA"
258+
if self.xnu_major<os_data.os_data.tahoe:
260259
return False
261260
if utilities.check_kext_loaded("com.apple.driver.AppleHDA") and self.xnu_major>=os_data.os_data.tahoe:
262261
self.constants.audio_type="AppleHDA"

0 commit comments

Comments
 (0)