openal-soft
openal-soft copied to clipboard
how to build for android 10 to allow for HRTF
title is all that's needed, what do i need etc.?
Just build it normally. The ALSOFT_EMBED_HRTF_DATA
cmake option defaults to ON
, so the resulting library will be able to use HRTF by default. An app may need to explicitly enable HRTF using the ALC_SOFT_HRTF
extension, though, since it can't currently autodetect whether headphones are being used or not, and I don't think Android apps can easily use a user config file.
Do i compile it on my computer or phone? Do i need SDK or anything of the sorts?
You'll need an Android SDK, and you typically build on your computer and transfer to the phone (or use an emulator on your computer) for testing.