dotnet / dotnet/macios

Improve the AudioToolbox API

Open
#6,411 3 comments 0 reactions 0 assignees View on GitHub
breaking-change enhancement iOS macOS
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 12h
Merged PRs (30d)
123

Description

Our AudioToolbox API is not very well written.

One example is that there are plain IntPtrs everywhere, and customers are expected to figure out what they mean. One example of a struggling customers: https://github.com/xamarin/xamarin-macios/issues/6410.

Example: https://github.com/xamarin/xamarin-macios/blob/82a1f814b388c49943cfdaf1eb30c00eafb8958c/src/AudioToolbox/AudioQueue.cs#L497

We should go through the entire framework and come up with something much better.

User idea: add Span APIs: https://github.com/xamarin/xamarin-macios/issues/3590#issuecomment-505265409

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.