@fauri
But I don't understand why prefer BASS over FMod
Me neither - I always preferred 'Fmod' to 'BASS'.
Almost nobody talks about FMod here.
Well, now You found someone, who does.
Searching for "Fmod" in this Forum, You'll find some more Topics related to 'Fmod'. (But not too much)
Is there any Free Pascal headers for this library?
Fmod3 came with Delphi-Wrapper, and -Examples (I still got them on my PC, if You need them).
With Fmod4 (= FmodEx), the API was totally redesigned, and there were no more Delphi-Wrapper/-Examples included.
So I had the same Question like You some Years ago, and asked in the FmodEx-Forum - Here's the Answer:
"Unfortunately we are not proficient with the Delphi language. In the past we provided delphi headers that were maintained by third parties however those headers fell into disrepair.
If you have any questions about delphi usage with FMOD I suggest asking questions here on the forum. Perhaps some other users can help out." After this, I took the Fmod-VB-Wrapper, that came with Fmod v4.30.02, and ported it to Delphi-Pascal.
(At that Time, I still used VB6 and Delphi7, and wasn't that familiar with C.)
-> see the Attachment 'fmod-4.30.02_VB2Delphi7ByMetis.7z'.Notes:- This Wrapper is 7 Years old.
I wrote it for FmodEx
v4.30.02, and never did any Updates.
- This Wrapper is
not complete.
I didn't port the entire Fmod-Functionality, but it has all Features to write a Fmod-Player with Pascal.
- I never tried this Wrapper with Lazarus, but it should work in
Delphi-Mode.
-> You may take my Fmod-Wrapper, and modify, extend, improve it. BTW:Fmod is a very powerful AudioEngine with really good Features, Sound, and Response, but
meanwhile I left it. Currently I use FFmpeg+SDL+OpenGL+Portaudio for Audio&Video, see:
FFPlay4Laz = "NON(!)-EXE FFPlay4Laz":
http://forum.lazarus.freepascal.org/index.php/topic,26666.0.htmlFFInfo4Laz = "Component for retrieving data from video files":
http://forum.lazarus.freepascal.org/index.php/topic,22038.0.html