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

oboe: improve DataCallbackResult::Stop handling #1351

Merged
merged 3 commits into from
Jul 21, 2021
Merged

Conversation

philburk
Copy link
Collaborator

Use another thread to stop the stream for R and earlier.

Fixes #1230.
Test: use OboeTester "callback return STOP" checkbox

Use another thread to stop the stream for R and earlier.

Fixes #1230.
Test: use OboeTester "callback return STOP" checkbox
@philburk philburk requested review from robertwu1 and dturner July 17, 2021 18:57
@philburk philburk added this to the V1.6.1 milestone Jul 17, 2021
Copy link
Collaborator

@dturner dturner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Is it worth adding unit test(s) for this?

src/common/AudioStream.cpp Outdated Show resolved Hide resolved
@philburk
Copy link
Collaborator Author

Yes, we need unit tests. I think a see a bug that would have been found with a unit test.

@philburk philburk merged commit 8ff99cc into main Jul 21, 2021
@philburk philburk deleted the fix_return_stop_1230 branch July 21, 2021 18:23
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.

Review handling of DataCallbackResult::Stop
3 participants