Skip to content

Commit

Permalink
More breaking changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Jun 5, 2024
1 parent f7f74b2 commit cad4f1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/AVFoundation/AVTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ public AVSampleCursorChunkInfo ToAVSampleCursorChunkInfo ()
#endif
[StructLayout (LayoutKind.Sequential)]
public struct AVSampleCursorAudioDependencyInfo {
#if XAMCORE_5_0 || __IOS__ || __TVOS__
#if XAMCORE_5_0 || (__IOS__ && !__MACCATALYST__) || __TVOS__
byte isIndependentlyDecodable;

public bool IsIndependentlyDecodable {
Expand Down
9 changes: 3 additions & 6 deletions src/avfoundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5285,8 +5285,7 @@ interface AVSampleCursor : NSCopying {
[Export ("currentSampleSyncInfo")]
AVSampleCursorSyncInfo CurrentSampleSyncInfo { get; }
#else
//[Virtual]
[Wrap ("CurrentSampleSyncInfo_Blittable.ToAVSampleCursorSyncInfo ()")]
[Wrap ("CurrentSampleSyncInfo_Blittable.ToAVSampleCursorSyncInfo ()", IsVirtual = true)]
AVSampleCursorSyncInfo CurrentSampleSyncInfo { get; }

[Internal]
Expand Down Expand Up @@ -5331,8 +5330,7 @@ interface AVSampleCursor : NSCopying {
[Internal]
AVSampleCursorChunkInfo_Blittable CurrentChunkInfo_Blittable { get; }

//[Virtual]
[Wrap ("CurrentChunkInfo_Blittable.ToAVSampleCursorChunkInfo ()")]
[Wrap ("CurrentChunkInfo_Blittable.ToAVSampleCursorChunkInfo ()", IsVirtual = true)]
AVSampleCursorChunkInfo CurrentChunkInfo { get; }
#endif

Expand All @@ -5350,8 +5348,7 @@ interface AVSampleCursor : NSCopying {
[Internal]
AVSampleCursorAudioDependencyInfo_Blittable CurrentSampleAudioDependencyInfo_Blittable { get; }

//[Virtual]
[Wrap ("CurrentSampleAudioDependencyInfo_Blittable.ToAVSampleCursorAudioDependencyInfo ()")]
[Wrap ("CurrentSampleAudioDependencyInfo_Blittable.ToAVSampleCursorAudioDependencyInfo ()", IsVirtual = true)]
AVSampleCursorAudioDependencyInfo CurrentSampleAudioDependencyInfo { get; }
#endif

Expand Down

1 comment on commit cad4f1d

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.