Support earpiece speaker in demos for OpenSL ES
Open
enhancement
- Dominant language
- C++
- Stars
- 4.1k
- Forks
- 639
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 8
Description
According to
https://stackoverflow.com/questions/21576739/how-to-configure-opensl-to-work-with-ear-speaker-other-than-main-speaker-or-head
and
https://groups.google.com/forum/#!topic/android-ndk/O-hufEm20cU
Earpiece speaker can be selected by using option SL_ANDROID_STREAM_VOICE in OpenSL config.
It would be useful to somehow expose this in the audio demos (output device dropdown?) to demonstrate playback with OpenSL through that speaker.
Contributor guide
Assessment
This issue has not been assessed yet.