system: re-enable sound for console mode on macOS 11.3
This commit is contained in:
parent
40c04d3d33
commit
d6ccf4db9b
|
@ -511,10 +511,8 @@ static size_t sysctl_read(const char *name) {
|
|||
}
|
||||
[self pushArgv:@"-m"];
|
||||
[self pushArgv:[self.configuration.systemMemory stringValue]];
|
||||
#if TARGET_OS_OSX
|
||||
// FIXME: sound support broken after fork(), so we disable for now
|
||||
if (!self.configuration.displayConsoleOnly)
|
||||
#endif
|
||||
// < macOS 11.3 we use fork() which is buggy and things are broken
|
||||
if (@available(macOS 11.3, *)) {
|
||||
if (self.configuration.soundEnabled) {
|
||||
[self pushArgv:@"-device"];
|
||||
[self pushArgv:self.configuration.soundCard];
|
||||
|
@ -523,6 +521,7 @@ static size_t sysctl_read(const char *name) {
|
|||
[self pushArgv:@"hda-duplex"];
|
||||
}
|
||||
}
|
||||
}
|
||||
[self pushArgv:@"-name"];
|
||||
[self pushArgv:self.configuration.name];
|
||||
if (self.usbSupported) {
|
||||
|
|
Loading…
Reference in New Issue