Commit 22ec8ae
fix(native): Handle MTAudioProcessingTapCreate API change for Swift 6.2+
On macOS 26+ (Xcode 26/Swift 6.2), MTAudioProcessingTapCreate signature changed to return MTAudioProcessingTap? directly instead of Unmanaged<MTAudioProcessingTap>?. Use conditional compilation to support both old and new SDK versions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f5cf75c commit 22ec8ae
1 file changed
Lines changed: 19 additions & 1 deletion
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | | - | |
1024 | 1023 | | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1025 | 1042 | | |
1026 | 1043 | | |
1027 | 1044 | | |
| |||
1034 | 1051 | | |
1035 | 1052 | | |
1036 | 1053 | | |
| 1054 | + | |
1037 | 1055 | | |
1038 | 1056 | | |
1039 | 1057 | | |
| |||
0 commit comments