I'm looking for the easiest way to play an MP3 file in C++. Either a library I could use and just call the function, given the filename, or alternatively something someone has already written that will just run and quit.
Asked
Active
Viewed 1.3k times
2 Answers
3
Qt comes to the rescue (again). The documentation even comes with demo code on how to implement a media player. It can play videos as well, btw.
http://doc.qt.nokia.com/latest/demos-qmediaplayer.html
Works on all platform and with the same syntax = WIN.

Dat Chu
- 10,822
- 13
- 58
- 82