-
Notifications
You must be signed in to change notification settings - Fork 580
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
Support getDeviceIds API #2162
Comments
There are a couple ways we can write the oboe API for OboeStream.getDevices(). Copying the AAudio API below for reference.
I prefer option 2. @flamme @philburk what do you guys think? |
Option 2 looks good to me. One thing to be noted is that the device ids may be changed after querying |
Yea, if the size changes after querying it again, we can keep trying until the size is consistent |
From API 36, aaudio added
AAudioStream_getDeviceIds
API, which can return multiple device IDs when there are multiple devices used. For instance, for ringtone and alarm on phone with peripheral devices connected. In that case, it should be also added to oboe.The text was updated successfully, but these errors were encountered: