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

Add privacy sensitive mode for API 30+ by robertwu1 · Pull Request #1751 · google/oboe · GitHub

/ oboe Public

Add privacy sensitive mode for API 30+ - #1751

Merged
robertwu1 merged 7 commits into
mainfrom
robertwu/privacysensitivemode
Mar 24, 2023
Merged

robertwu1 merged 7 commits into
mainfrom
robertwu/privacysensitivemode

Conversation

Copy link
Copy Markdown
Collaborator

setPrivacySensitive/isPrivacySensitive are APIs in AAudio for overriding the default input presets. We are adding them to Oboe here.

Instead of using a boolean like in AAudio, Oboe is using a tristate of Unspecified/Enabled/Disabled. This allows a default implementation to be used and a fallback pattern for OpenSLES. Under the hood, AAudio also uses a tristate for this.

Fixes #1093

robertwu1 requested a review from philburk March 14, 2023 22:49
Comment thread include/oboe/AudioStreamBuilder.h Outdated
Comment thread include/oboe/Definitions.h Outdated
Comment thread src/aaudio/AAudioLoader.h
Comment thread tests/testStreamOpen.cpp Outdated
Comment thread tests/testStreamOpen.cpp
robertwu1 requested a review from philburk March 16, 2023 23:15
Comment thread tests/testStreamOpen.cpp Outdated
Comment thread tests/testStreamOpen.cpp Outdated
robertwu1 requested a review from philburk March 17, 2023 17:40
robertwu1 merged commit 79f9d8f into main Mar 24, 2023
robertwu1 deleted the robertwu/privacysensitivemode branch March 24, 2023 17:09
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.

Support overriding input stream privacy sensitivity

2 participants


Back | FazBrowse Home | New Git URL