openal-soft icon indicating copy to clipboard operation
openal-soft copied to clipboard

how to build for android 10 to allow for HRTF

Open TheBestKmanEver opened this issue 3 years ago • 3 comments

title is all that's needed, what do i need etc.?

TheBestKmanEver avatar Feb 20 '22 16:02 TheBestKmanEver

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.

kcat avatar Feb 21 '22 01:02 kcat

Do i compile it on my computer or phone? Do i need SDK or anything of the sorts?

TheBestKmanEver avatar Feb 23 '22 19:02 TheBestKmanEver

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.

kcat avatar Feb 24 '22 08:02 kcat