PDA

View Full Version : mp3 and ogg



sujoy
December 26th, 2007, 05:16 PM
i want to write a code in c that can play mp3 and ogg files. what library should i be using? any documentation on the same will be of great help.

Auria
December 26th, 2007, 06:02 PM
You could look at gstreamer for applications. If you're making a game maybe SDL_mixer or something like that would be more appropriate (you can find docs just by googling and going on their webpage, it's easy :) )

sujoy
December 26th, 2007, 06:39 PM
thanks.

well i looked in the documentation here http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/ but not understanding anything:confused:

Lster
December 26th, 2007, 08:17 PM
A quick Google search found this:

http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/manual/html/index.html

Hope it helps - although I have never programmed using GStreamer. I have used SDL_Mixer and I think it is pretty good and very easy. :)