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/cfa09bb41adbc24b71d66930b24d8988 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/cfa09bb41adbc24b71d66930b24d8988 to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/dotnet/Microsoft.macOS.Ref/ref/net8.0/Microsoft.macOS.md

API diff: Microsoft.macOS.dll

Microsoft.macOS.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