Skip to content

Improve the AudioToolbox API #6411

@rolfbjarne

Description

@rolfbjarne

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: #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: #3590 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeIf an issue or a pull request represents a breaking changeenhancementThe issue or pull request is an enhancementiOSIssues affecting iOSmacOSIssues affecting macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions