Skip to content

oboe_opensles: lock requestFlush()#378

Merged
philburk merged 1 commit intomasterfrom
lockflush
Feb 9, 2019
Merged

oboe_opensles: lock requestFlush()#378
philburk merged 1 commit intomasterfrom
lockflush

Conversation

@philburk
Copy link
Contributor

@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
Contributor 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