-
Notifications
You must be signed in to change notification settings - Fork 573
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
Input stream fails to open on Android <10 when VoicePerformance preset is specified #1009
Comments
@rpattabi Any thoughts on this? Would you prefer to leave the behaviour as-is or have Oboe choose a suitable replacement for My feeling is for the latter but I don't want to break your (or anyone else's) code. |
You're right. For this specific question and for our app's specific requirements, we would prefer oboe not to fail but choose a preset as fallback. However, this may not be desired behavior for all the users. So we propose the following mechanism for input presets in general:
Hope this is clear. Thanks for asking. |
I can add the fallback to VoiceRecognition for V1.5. That is a small change. The feature request for an array of presets in order of preference is a nice idea will have to wait. |
I reproduced this on an S10e running P. |
Android version(s): Android 9
Android device(s): Samsung Galaxy S9
Oboe version: 1.4.3
App name used for testing: LiveEffect
(Please try to reproduce the issue using the OboeTester or an Oboe sample.)
Short description
When you attempt to open an input stream using the
VoicePerformance
preset on Android 9 or below the stream will fail to open because theVoicePerformance
preset is only available on Android 10 and above.Steps to reproduce
On an Android 9 or below device load an app which will open an input stream in the following way. I modified the LiveEffect app for this.
Expected behavior
This is up for debate but I'd expect a suitable substitute for
VoicePerformance
(maybeVoiceRecognition
) to be selected and the stream to open successfully.Actual behavior
The stream fails to open
The text was updated successfully, but these errors were encountered: