I'm planning to synthesise sound in realtime in my naive (openXR) app and then play it. So I'll have a bunch of int16 or int24 arrays to play which will be constantly updated and then submitted to the sound API. Android native uses the khronos audio for continously playing audio. Can this also be used in a C++ program in a native application or what is the best approach? Is there C++ sample code available which plays for example a 1kHz sine-wave?
I can reply to my own post. Oboe seems to be working. Able to generate the white noise as outlined in the google demo: https://github.com/google/oboe/blob/main/docs/GettingStarted.md
(now back to my proper account, support has sorted it)