Revert "Audaspace: port bugfix for CoreAudio from upstream."

This reverts commit 10c7b00f72dadaa1effc1eea243fe42b6d0a9aac.
This commit is contained in:
Sebastian Parborg
2025-03-27 18:32:35 +01:00
parent cf6661fbf7
commit 2d74c0a9cb
+2 -7
View File
@@ -147,12 +147,6 @@ void CoreAudioDevice::open()
void CoreAudioDevice::close()
{
// NOTE: Keep the device open for buggy MacOS versions (see blender issue #121911).
if(!__builtin_available(macOS 15.2, *))
{
return;
}
AudioOutputUnitStop(m_audio_unit);
AudioUnitUninitialize(m_audio_unit);
AudioComponentInstanceDispose(m_audio_unit);
@@ -171,7 +165,8 @@ m_audio_unit(nullptr)
m_specs = specs;
open();
close();
// NOTE: Keep the device open until #121911 is investigated/resolved from Apple side.
// close();
create();
}