Open DavidVentura opened 1 year ago
Well, linking OpenSLES
and calling InitCNFAAndroid
was enough to get audio working, though with the same callback, audio plays ~2x as fast (and pitch is ~2x higher)
Which, after fiddling with the InitCNFAAndroid
flags for a bit, I realized it sounds "correct" if I double up the sugBufferSize
.
Not sure why.
There's always mysteries in sound like that!
If you can document it a tad that'd be neat.
Hi Could you upload an Android example? I've attempted to do that by just including
cnfa/CNFA.h
, but gettingdlopen failed: cannot locate symbol "SL_IID_PLAY"
and am not entirely sure what it is that I'm missing in my link step.