Closed 0x1F9F1 closed 1 month ago
Yes, the format list should probably be "exact match", "native float", "easiest conversion from native float" ... and maybe that's it?
@icculus, thoughts?
Most of the backend APIs either accept float or prefer it, so moving that first is probably good, as we're likely going to be working in floats no matter what the app or the backend wants.
OpenSLES needs to be fixed real quick, because it doesn't handle float at all but only checks if the data format is signed:
All the rest look okay.
OpenSLES needs to be fixed real quick
This isn't true after all, it handles it correctly outside that code snippet.
Currently the format_list prefers using integer types, before using floats. Should it more aggresively prefer floats, given that's what all the mixing/resampling/conversions are done with?