Hello! I wrote an Android OpenSL ES sink module for Pulseaudio and two other guy reported that it works well. But I think it needs to be improved. Also I think it can be integrated into upstream Pulseaudio. Sources are placed here: https://github.com/twaik/pulseaudio-sles-ndk . The build.sh script inside repo downloads external prerequisites and builds all this stuff for Android using NDK. The module only source is placed here: https://gist.github.com/twaik/0eaee765c712ddd03fc9dc4eaac09cfc
Nice! Do you think this should maybe move to AAudio, or do you need to be pre-Oreo compatible?
That module does not use any Android parts except OpenSL ES. Android supports OpenSL ES since Android 2.3 (API level 9), so it should be Oreo-compatible.
It does not replace Audioflinger (like the one noticed there: https://arunraghavan.net/2012/01/pulseaudio-vs-audioflinger-fight/ ). It uses Audioflinger as output platform.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/93.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.