I am looking for a way to play an MP3 file in Borland C++ Builder 5.0. I know how to play wav files (through the TMedia component) but how about MP3 files?
There is excellent FREE software at dbpoweramp.com that can play and convert all sorts of audiocompressions. The author was also so friendly to make an interface to his program with scripting and he even explains how to use this scripting in Builder. Even more, if you put a question on his forum he gives very good and fast answers.
This software is really a must and it is completely free, no shareware, nothing to pay.
fergmj,
using COM, you can use avery COM objects what offer interfaces to do what do you want. For example you may use WinAmp's COM interfaces to play your MP3. John Fill
what i did was simple...i made the filename (yoursongnamehere).mp3, and it played just fine. i was kinda surprised, but it worked. just the windows media player. now i cant get the file 2 change very easily. but that happens with alot of sound files Cyprus
you need 3 Labels, an OpenDialog, and a MediaPlayer with the Device Type set to AutoSelect. I have made a whole MP3 Player with a playlist and a CD Player with this code. I made it stripped down with the simplest code possible, so its pretty easy to understand. If you want it e-mail me and Ill send it to you. gooutandshootthedog@hotmail.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.