avsynth pre 10.14

This commit is contained in:
Eric Warmenhoven committed 2026-04-20 17:57:24 -04:00
1 parent 2b515445cc
commit 6c807361a6
1 file changed
+4
+4
View File
@@ -30,7 +30,9 @@
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFArray.h>
#if !defined(OSX) || (MAC_OS_X_VERSION_MAX_ALLOWED >= 101400)
#import <AVFoundation/AVFoundation.h>
#endif
#ifdef HAVE_CONFIG_H
#include "../../config.h"
@@ -1028,6 +1030,7 @@ static bool frontend_darwin_accessibility_speak(int speed,
else if (speed > 10)
speed = 10;
#if !defined(OSX) || (MAC_OS_X_VERSION_MAX_ALLOWED >= 101400)
if (@available(macOS 10.14, iOS 7, tvOS 9, *))
{
static dispatch_once_t once;
@@ -1052,6 +1055,7 @@ static bool frontend_darwin_accessibility_speak(int speed,
[synth speakUtterance:utterance];
return true;
}
#endif
#if defined(OSX)
return accessibility_speak_macos(speed, speak_text, priority);