From: Marius Nita <marius@cs.pdx.edu>
To: Fabio Miranda Hamburger <fabmirha@ns.isi.ulatina.ac.cr>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Basic mp3 player
Date: Mon, 9 Dec 2002 15:04:35 -0800 [thread overview]
Message-ID: <20021209230435.GB26299@cs.pdx.edu> (raw)
In-Reply-To: <Pine.LNX.4.44.0212091458170.12615-100000@ns.isi.ulatina.ac.cr>
On Mon, Dec 09, 2002 at 02:59:32PM -0600, Fabio Miranda Hamburger wrote:
> Dude, i dont want to do it from scrath, i need the code and add it to my
> proyect.
> for example call: plaympe(FILE);
> how a c programmer can use a audio device????
in order to play mp3 files you need a mp3 decoder. you most likely don't want
to write this on your own. there are quite a few good mp3 decoding libs out
there. try libmad, for example. for an example of how libmad is used to play
music, look at the mpg321 source.
so in short, google for libmad and mpg321.
> ---
> Fabio Andres Miranda
> Ingenieria de sistemas informaticos
> Universidad Latina - Costa Rica
>
>
> On Mon, 9 Dec 2002, Elias Athanasopoulos wrote:
>
> > On Sun, Dec 08, 2002 at 01:08:31PM -0600, fabmirha@ns.isi.ulatina.ac.cr wrote:
> > > Hi, I am interested in coding a very thin, basic, small mp3 play in C for dos
> > > and linux.
> >
> > If you want to do it from scratch, i.e. you are interested in the algorithmic
> > part of the project, then you have to learn the MP3 encoding. It's not
> > trivial.
> >
> > I have no resources to suggest but you can find lots of via Google. Just
> > search for lossy compression, MP3 encoding/decoding, etc.
> >
> > Ciao!
> > Elias
> >
> > --
> > http://gnewtellium.sourceforge.net MP3 is not a crime.
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2002-12-09 23:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-08 19:08 Basic mp3 player fabmirha
2002-12-08 20:46 ` Boris Bezlaj
2002-12-08 19:28 ` fabmirha
2002-12-09 10:20 ` Elias Athanasopoulos
2002-12-09 20:59 ` Fabio Miranda Hamburger
2002-12-09 22:31 ` Jan-Benedict Glaw
2002-12-09 23:04 ` Marius Nita [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021209230435.GB26299@cs.pdx.edu \
--to=marius@cs.pdx.edu \
--cc=fabmirha@ns.isi.ulatina.ac.cr \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).