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

Use shared_ptr in FilterAudioStream #2037

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Use shared_ptr in FilterAudioStream #2037

merged 1 commit into from
Jun 12, 2024

Conversation

philburk
Copy link
Collaborator

This is used when Oboe does sample rate conversion. Or format or channel count conversion.

It used to use a raw pointer, which could cause crashes.

Fixes #2035

This is used when Oboe does sample rate conversion. Or format or channel count conversion.

It used to use a raw pointer, which could cause crashes.

Fixes #2035
@philburk philburk requested a review from robertwu1 June 12, 2024 23:03
@philburk philburk merged commit a95cf6c into main Jun 12, 2024
3 checks passed
@philburk philburk deleted the noraw_2035 branch June 12, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible crash on disconnect with streams using Oboe sample rate conversion
2 participants