Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created August 26, 2024 23:17
Show Gist options
  • Save vs-mobiletools-engineering-service2/90934d50fb968e0fa480b7a29bef97a8 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/90934d50fb968e0fa480b7a29bef97a8 to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/dotnet/Microsoft.MacCatalyst.Ref/ref/net8.0/Microsoft.MacCatalyst.md

API diff: Microsoft.MacCatalyst.dll

Microsoft.MacCatalyst.dll

Namespace AudioToolbox

Type Changed: AudioToolbox.AudioConverter

Added methods:

public static AudioConverter Create (AudioStreamBasicDescription sourceFormat, AudioStreamBasicDescription destinationFormat, AudioConverterOptions options);
public static AudioConverter Create (AudioStreamBasicDescription sourceFormat, AudioStreamBasicDescription destinationFormat, AudioConverterOptions options, out AudioConverterError error);
public static void Prepare (AudioConverter.PrepareCompletionCallback completionCallback);
public static void Prepare (uint flags, IntPtr ioReserved, AudioConverter.PrepareCompletionCallback completionCallback);

Type Changed: AudioToolbox.AudioFile

Added methods:

public int CountUserData (AudioFileChunkType chunkType);
public AudioFileError GetUserData (AudioFileChunkType chunkType, int index, ref int size, IntPtr userData);
public AudioFileError GetUserData (AudioFileChunkType chunkType, int index, long offset, byte[] data, out int size);
public AudioFileError GetUserData (AudioFileChunkType chunkType, int index, long offset, ref int size, IntPtr userData);
public AudioFileError GetUserData (uint userDataId, int index, long offset, byte[] data, out int size);
public AudioFileError GetUserData (uint userDataId, int index, long offset, ref int size, IntPtr userData);
public int GetUserDataSize (AudioFileChunkType chunkType, int index);
public AudioFileError GetUserDataSize (AudioFileChunkType chunkType, int index, out ulong size);
public AudioFileError GetUserDataSize (uint userDataId, int index, out ulong size);

New Type: AudioToolbox.AUVoiceIOOtherAudioDuckingLevel

[Serializable]
public enum AUVoiceIOOtherAudioDuckingLevel {
	Default = 0,
	Max = 30,
	Mid = 20,
	Min = 10,
}

New Type: AudioToolbox.AudioConverterOptions

[Serializable]
[Flags]
public enum AudioConverterOptions {
	None = 0,
	Unbuffered = 65536,
}

Namespace AudioUnit

Type Changed: AudioUnit.AUAudioUnit

Added property:

public virtual Foundation.NSData[] MigrateFromPlugin { get; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment