oboe
oboe copied to clipboard
OpenSL ES: Return ErrorInvalidFormat instead of ErrorInternal for invalid format
OpenSL ES only supports float and I16. We should return that other formats are invalid if OpenSL ES is used. Otherwise, it may be hard for developers to debug.
Look for other format check in Oboe.
Done. Thanks for the suggestion!