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_opensles: lock requestFlush() #378

Merged
merged 1 commit into from
Feb 9, 2019
Merged

oboe_opensles: lock requestFlush() #378

merged 1 commit into from
Feb 9, 2019

Conversation

philburk
Copy link
Collaborator

@philburk philburk commented Feb 4, 2019

Add _l version to prevent recursive lock from requestStop().

Add _l version to prevent recursive lock from requestStop().
@philburk philburk requested a review from dturner February 4, 2019 23:26
return requestFlush_l();
}

Result AudioOutputStreamOpenSLES::requestFlush_l() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does the _l mean: this function should be called under a lock?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that is a convention in Android framework.

@philburk philburk changed the title oboe_opensles: lock requestFLush() oboe_opensles: lock requestFlush() Feb 9, 2019
@philburk philburk merged commit f401682 into master Feb 9, 2019
@philburk philburk deleted the lockflush branch March 19, 2019 21:43
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.

2 participants