Skip to content

setFramesPerCallback can cause a crash on close for output tracks #973

@philburk

Description

@philburk

For legacy output tracks, the block size adapter can get deleted while a callback is still in progress.
We should intercept calls to setFramesPerCallback() and do the block size adaption in Oboe instead of AAudio.
There should not be any performance penalty.

This is related to #953
This will also help fix #778

Metadata

Metadata

Assignees

Labels

P1high priority

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions