[openal] uwp, android

doug sanden highaspirations at hotmail.com
Thu Nov 24 12:46:26 EST 2016


> Q1. is openSL ES  sufficient for openAL-Soft ?
YES.
...
CMakeLists.txt L.1080
# Check for OpenSL (Android) backend
OPTION(ALSOFT_REQUIRE_OPENSL "Require OpenSL backend" OFF)
CHECK_INCLUDE_FILES("SLES/OpenSLES.h;SLES/OpenSLES_Android.h" HAVE_SLES_OPENSLES_ANDROID_H)

...
I confirmed I can include SLES/* headers in my VS2015 android NDK project main.c.
So its a matter of getting cmake to do what I need for cross compiling on windows for android.
https://blogs.msdn.microsoft.com/vcblog/2015/12/15/support-for-android-cmake-projects-in-visual-studio/
- has some hints


> Q2. is there an openSL or openSL ES wrapper for uwp / xaudio2?
NO.
I'll continue to use an xaudio2 based emulator for openal.

-Doug
________________________________________
From: openal <openal-bounces at openal.org> on behalf of doug sanden <highaspirations at hotmail.com>
Sent: November 24, 2016 7:58 AM
To: openal at openal.org
Subject: Re: [openal] uwp, android

Maybe better questions:
Q1. is openSL ES  sufficient for openAL-Soft ?
I see Android has an openSL ES API
https://developer.android.com/ndk/guides/audio/opensl-for-android.html
Q2. is there an openSL or openSL ES wrapper for uwp / xaudio2?

________________________________________
From: openal <openal-bounces at openal.org> on behalf of doug sanden <highaspirations at hotmail.com>
Sent: November 24, 2016 7:13 AM
To: openal at openal.org
Subject: [openal] uwp, android

I'm from freewrl.sf.net - virtual reality browser that uses openAL-soft to implement web3d.org Sound node for windows and linux desktop.
I'm working on windows uwp and android for a few days.

uwp (universal windows platform) / winRT / windows-metro
- I worked on this before and got something working.
- Now I'm implementing movietexture node via ffmpeg libs, and just realized I have an old openAL-soft interface that doesn't have float32
- it looks like I hacked the openAL code before - so it goes directly to Xaudio2 - works with .wav and mpeg1 audio, but not for mp4 audio even after a hand-coded conversion to 16bit - an xaudio function returns error
I'll upgrade that interface to try float32.
Q. has someone done a proper implementation for uwp?

android
- haven't attempted yet. I'm working through visual studio 2015 NDK build process.
Q. any tips / example android ndk implementation?

Thanks,
Doug

_______________________________________________
openal mailing list
openal at openal.org
http://openal.org/mailman/listinfo/openal
_______________________________________________
openal mailing list
openal at openal.org
http://openal.org/mailman/listinfo/openal


More information about the openal mailing list