forked from xamarin/xamarin-macios
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AVFoundation] Numerous improvements to the AVSampleCursor type + som…
…e other structs. * The AVSampleCursor type was made available on all platforms two years ago (as opposed to only macOS before that), so update availability attributes accordingly. * Also make a few structs used by AVSampleCursor blittable (AVSampleCursorSyncInfo, AVSampleCursorDependencyInfo, AVSampleCursorChunkInfo, AVSampleCursorAudioDependencyInfo) This got a bit complicated, because some of the non-blittable members of these structs are public. This meant a workaround had to be implemented: * Rename the properties that use these structures - appending "_Blittable" - and make them internal. * Create internal "*_Blittable" versions of the structures, and a make the "_Blittable" properties return these structures. * Bind the properties again, wrapping the internal versions and manually converting from the blittable structures to the non-blittable structures. Note that since some of the properties are new on iOS and tvOS, we don't need the compatibility workaround for these platforms. Contributes towards xamarin#15684.
- Loading branch information
1 parent
9657179
commit 55f2d3c
Showing
9 changed files
with
336 additions
and
181 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
Oops, something went wrong.