FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

oboe: use shared_ptr for callbacks by philburk · Pull Request #1626 · google/oboe · GitHub

/ oboe Public

oboe: use shared_ptr for callbacks - #1626

Merged
philburk merged 2 commits into
mainfrom
fix_errcb_1603
Sep 21, 2022
Merged

philburk merged 2 commits into
mainfrom
fix_errcb_1603

Conversation

Copy link
Copy Markdown
Contributor

Pass data and error callbacks to builder using a shared_ptr. Deprecate methods that pass raw pointers.

This is to avoid the callback getting deleted while the error callback is active.

Fixes #1603

Pass data and error callbacks to builder using a shared_ptr.
Deprecate methods that pass raw pointers.

This is to avoid the callback getting deleted while the
error callback is active.

Fixes #1603
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

The client receives the callback onErrorAfterClose from oboe even if the audio stream is closed. [ Same as Issue 1578]

2 participants


Back | FazBrowse Home | New Git URL