hoene / libmysofa

Reader for AES SOFA files to get better HRTFs
Other
131 stars 70 forks source link

Load HRTF from memory instead of file #184

Closed fluffy closed 2 years ago

fluffy commented 2 years ago

Loading from memory can make it easier when storing the HRTF as a Unity asset in iOS or Android.

Before this is merged, it needs some work to make sure that it is not included when compiling on windows as windows does not have the funopen API which this relies on.

hoene commented 2 years ago

one more question. Do you have fmemopen on your embedded system?

fluffy commented 2 years ago

It's a mixed set of stuff. I'm not that happy with the lack of portability of this solution to the problem. I do want to solve it but would prefer a solution that worked everywhere.

hoene commented 2 years ago

Ok,allow me to rewrite to and move the mem IO section to the test files. The library will then reply on file IO only.