Replies: 1 comment
-
OpenSL is deprecated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I See the enum define of InputPreset in Definitions.h: "Note that these match the equivalent values in MediaRecorder.AudioSource in the Android Java API."
However, the function OpenSLES_convertInputPreset in AudioInputStreamOpenSLES.cpp mapping both InputPreset::VoiceRecognition and InputPreset::VoicePerformance into SL_ANDROID_RECORDING_PRESET_VOICE_RECOGNITION
https://cs.android.com/android/platform/superproject/+/master:external/oboe/src/opensles/AudioInputStreamOpenSLES.cpp;l=40?q=OpenSLES_convertInputPreset
I wondering why? if the real implementation of them in OpenSL are same?
Beta Was this translation helpful? Give feedback.
All reactions