New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add open file callback #1754
base: develop
Are you sure you want to change the base?
Add open file callback #1754
Conversation
This is work in progress. I am looking into libsndfile open virtual and how to allow using that to open sound files. http://www.mega-nerd.com/libsndfile/api.html#open_virtual Maybe allow a user to set their own implementation of SF_VIRTUAL_IO and use that to open sound files. |
9a1a3b8
to
42ee74d
Compare
42ee74d
to
532a94c
Compare
Note that we don't use libsndfile directly (so Csound can be built without it). If you need to access libsndfile, you should do it via the interface in InOut/soundfile.c |
532a94c
to
7f4bb56
Compare
7f4bb56
to
78850d7
Compare
@vlazzarini , @rorywalsh , @stekyne : Could you all take a look at this? This relates to godot-csound. @nonameentername mentioned on Discord:
Also there seems to be build failures in Github Actions related to iOS and macOS+VCPKG. |
Not exactly sure what godot-csound is, and I am not following discussions on Discord. I did a first pass on this and I didn't spot any major issue but I have a few points to make:
|
Add callback for open file and open sound file to allow extending csound api when opening files. These changes could allow csound to open files that are not located in file system and instead add user defined code to open files from memory, zip files, etc.
c218af4
to
b193fa7
Compare
Add callback for open file and open file descriptor to allow extending csound api when opening files.
These changes could allow csound to open files that are not located in file system and instead add user defined code to open files from memory, zip files, etc.