Revert "Audaspace: port bugfix for CoreAudio from upstream."
This reverts commit 10c7b00f72dadaa1effc1eea243fe42b6d0a9aac.
This commit is contained in:
+2
-7
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user