-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[src] Fix definition of AVSampleCursorAudioDependencyInfo for Mac Cat…
…alyst. (#20781) We need the backwards compatible code for the AVSampleCursorAudioDependencyInfo struct (i.e. use the AVSampleCursorAudioDependencyInfo_Blittable version), so adjust the ifdefs accordingly - which wasn't obvious at first, because __IOS__ is defined for Mac Catalyst. Also fix the corresponding test, because it would cache the result of computing whether a struct was blittable or not, but that's not true across platforms ("AVSampleCursorAudioDependencyInfo" is blittable on iOS, but not on Mac Catalyst). The result was that the test would incorrectly pass if we processed Microsoft.iOS.dll before Microsoft.MacCatalyst.dll. The fix is to cache per platform, instead of using a global cache.
- Loading branch information
1 parent
02e14e6
commit 9b7ff19
Showing
3 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.