You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, __ANDROID_API__ is a preprocessor define so will give the compile time API level (usually API 16) so floating point won't be available on any device.
This code (which I wrote) is intended to determine whether floating point format is available on this device based on the runtime API level:
https://github.com/google/oboe/blob/master/src/opensles/AudioOutputStreamOpenSLES.cpp#L112
However,
__ANDROID_API__
is a preprocessor define so will give the compile time API level (usually API 16) so floating point won't be available on any device.mnaganov@ has a solution in his pull request here: d35c572#diff-d0e527b6330d249f712b4e30bf3dde92R96
The text was updated successfully, but these errors were encountered: