Re: [fluid-dev] About Supporting 2GiB+ Soundfonts on Windows

2020-03-19 Thread Carlo Bramini via fluid-dev
Hello! > There is no guarantee that sf->sffd is a FILE* . Again, this is exposed via > our API. sf->sffd is a void*, which could be some user defined handle, which, > when passing to fseek(), would result in an access violation and in a > horrible, possibly-hard-to-reproduce crash of the entire

Re: [fluid-dev] About Supporting 2GiB+ Soundfonts on Windows

2020-03-17 Thread Carlo Bramini via fluid-dev
Hello, although it is true that you cannot handle files larger than 2GB with current code, there is one thing that's strange in that bug report. If you really have not large file support, the first function to fail should be fseek() and not ftell(), so the first message you should read in the co

Re: [fluid-dev] Adding C++ as mandatory dependency?

2020-01-21 Thread Carlo Bramini via fluid-dev
Hello friends and happy new year, although a bit late... If I can say my opinion, I disagree with the use of C++ code. From my experience, C++ is not a good idea sometimes, especially when you want to maximize the performance and minimize the memory usage. You may want to look the code of other im

Re: [fluid-dev] Add free() wrapper for proper memory management

2019-09-28 Thread Carlo Bramini via fluid-dev
Hello, excuse me, what is the issue with the dsound driver? Sincerely. > Il 27 settembre 2019 alle 9.11 "Tom M. via fluid-dev" > ha scritto: > > > FYI: #562 was merged and will be part of 2.0.7 . There currently is an > issue with the dsound driver on windows, so the release of 2.0.7 needs >