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
Right now clownaudio just uses the backend's 'Create' function to see if the loaded file is in that backend's format, but that's a whole lot of overhead.
Certain libraries (I think libVorbis is one of them) have specific functions for testing if the provided buffer contains valid data. Using those would be nice.
Backends whose libraries don't provide such a feature can still rely on the old 'just try opening the file' trick.
The text was updated successfully, but these errors were encountered:
Right now clownaudio just uses the backend's 'Create' function to see if the loaded file is in that backend's format, but that's a whole lot of overhead.
Certain libraries (I think libVorbis is one of them) have specific functions for testing if the provided buffer contains valid data. Using those would be nice.
Backends whose libraries don't provide such a feature can still rely on the old 'just try opening the file' trick.
The text was updated successfully, but these errors were encountered: