Closed peruginia closed 6 years ago
Hello Alessandro.
I will check your code today.
Many thanks.
Write you later.
Fre;D
Re-hello Alessandro. Wow you did lot of work.
I think I will need much more time to check all.
Write you asap.
Fre;D
unfortunately the delphi compiler is not so compatible ... with Lazarus 1.8 and delphi 10.2 with .mp3 and .ogg works very well ...
Hello Alessandro.
I committed your changes for the memory leak, many thanks: commit 0ba7081
But for the Delphi-compatibility patches, nothing works any more using fpc for Linux-FreeBSD 64/32 on my system... ;-(
Fre;D
the problem can be in any changed ifdef or in the change of IPAIODataIOInterface.. the big change is in indenting for undestand the code.. i can put the changes in your code with small change.. i think it's less than 200 lines of code...
Hello Alessandro.
Yes. I agree, the code of uos is difficult to understand sometimes. uos was done by different developers and some have different habits.
For example IPAIODataIOInterface comes from uos_dsp_utils done by Andrew Haines. Andrew is a excellent developer (one of the best I know) and he uses original tricks.
If you was able to compile uos for Delphi ---> Wow. And then sure that some "$ifdef" will do uos fpc+Delphi compatible too.
Huh... if you can do it, it will be a new age for uos.
Fre;D
in AddFromMemoryStream if passed TypeAudio=-1 after try to open the file with sndfile if failed try with mpg123, opus and so on..
Delphi Rad studio 10.2 compatibility