Re: mp3 playing library for C++



On a sunny day (23 Sep 2006 14:25:52 -0700) it happened bluesmanu@xxxxxxxxx
wrote in <1159046752.802399.159430@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>:

Hey there,

I want to develop a C++ mp3 player. What is the most commonly
used/standard library to play mp3?

Thanks


char *path_filename;
FILE * pptr;
char temp[1024];

sprintf(temp, "mpg123 %s", path_filename);
pptr = open(temp, "w");
pclose(pptr);


You can use sox too if not mpg123.

sox will play most other audio formats too.
.



Relevant Pages

  • Re: [SLE] compatible mp3 player
    ... > Any suggestions on either how to connect the Rio Nitrus, ... > mp3 player would be appreciated. ... Do you want the hard drive / flash drive type or a CD player which will ... be much cheaper and play MP3? ...
    (SuSE)
  • Re: sony music system
    ... I have an old Sony MUSIC system which only plays audio cd. ... play MP3. ... your best option here is to connect an MP3 player to the line input ...
    (sci.electronics.repair)
  • Re: mp3 playing library for C++
    ... I want to develop a C++ mp3 player. ... used/standard library to play mp3? ... probably either libmad or mpeglib ...
    (comp.os.linux.development.apps)