Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AudioToolbox] Fix computing array size. #19952

Merged
merged 1 commit into from
Jan 30, 2024

Commits on Jan 29, 2024

  1. [AudioToolbox] Fix computing array size.

    When resizing an array to a certain number of elements, we need to compute the
    number of elements and use that to resize the array (and not use the size of
    each element as the number of elements).
    
    We also need to recompute the number of elements after calling the P/Invoke
    (which may have changed the total size) - otherwise resizing the array is
    entirely redundant (because the number of elements wouldn't change).
    rolfbjarne committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    405ab87 View commit details
    Browse the repository at this point in the history