You can take a look at the mpg123 header binding for the Free Pascal Compiler:

https://github.com/DJMaster/mpg123-fpc

Strongly tested under Windows. Other OSs will be availble soon.





Quote Originally Posted by paul_nicholls View Post
I am wondering if anyone has ever ported the libmad (http://www.underbit.com/products/mad/) mpeg audio decoder so it can be used with freepascal?

I am wanting to make a simple mp3 player and this library sounds great as it uses fixed-point math instead of floating-point. This would make it suitable for use on the gp2x.

cheers,
Paul.