linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Basic mp3 player
@ 2002-12-08 19:08 fabmirha
  2002-12-08 20:46 ` Boris Bezlaj
  2002-12-09 10:20 ` Elias Athanasopoulos
  0 siblings, 2 replies; 7+ messages in thread
From: fabmirha @ 2002-12-08 19:08 UTC (permalink / raw)
  To: linux-c-programming

Hi, I am interested in coding a very thin, basic, small mp3 play in C for dos 
and linux.
I just want it to read a file, locate mp3 tags, display them and play the file.
What resources do you recommend me?, What suggestion for design and portability?
Where can i get a public library so I dont have to "reinvet the wheel"??

Please, any help, comments, advices is welcome.

bye.

-------------------------------------------------
This mail sent through IMP: correo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Basic mp3 player
  2002-12-08 20:46 ` Boris Bezlaj
@ 2002-12-08 19:28   ` fabmirha
  0 siblings, 0 replies; 7+ messages in thread
From: fabmirha @ 2002-12-08 19:28 UTC (permalink / raw)
  To: Boris Bezlaj; +Cc: fabmirha, linux-c-programming

It's a project for a subject.


Mensaje citado por: Boris Bezlaj <boris@bandit.kista.gajba.net>:

> 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.
> 
> Whats wrong with ogg123 and mpg123 players?
> 
> -- 
> 
> With best regards,
> 
> 		Boris B.
> -
> 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
> 


-------------------------------------------------
This mail sent through IMP: correo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Basic mp3 player
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Boris Bezlaj @ 2002-12-08 20:46 UTC (permalink / raw)
  To: fabmirha; +Cc: linux-c-programming

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.

Whats wrong with ogg123 and mpg123 players?

-- 

With best regards,

		Boris B.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Basic mp3 player
  2002-12-08 19:08 Basic mp3 player fabmirha
  2002-12-08 20:46 ` Boris Bezlaj
@ 2002-12-09 10:20 ` Elias Athanasopoulos
  2002-12-09 20:59   ` Fabio Miranda Hamburger
  1 sibling, 1 reply; 7+ messages in thread
From: Elias Athanasopoulos @ 2002-12-09 10:20 UTC (permalink / raw)
  To: fabmirha; +Cc: linux-c-programming

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.	

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Basic mp3 player
  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
  0 siblings, 2 replies; 7+ messages in thread
From: Fabio Miranda Hamburger @ 2002-12-09 20:59 UTC (permalink / raw)
  To: Elias Athanasopoulos; +Cc: linux-c-programming

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????



---
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.
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Basic mp3 player
  2002-12-09 20:59   ` Fabio Miranda Hamburger
@ 2002-12-09 22:31     ` Jan-Benedict Glaw
  2002-12-09 23:04     ` Marius Nita
  1 sibling, 0 replies; 7+ messages in thread
From: Jan-Benedict Glaw @ 2002-12-09 22:31 UTC (permalink / raw)
  To: linux-c-programming

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

On Mon, 2002-12-09 14:59:32 -0600, Fabio Miranda Hamburger <fabmirha@ns.isi.ulatina.ac.cr>
wrote in message <Pine.LNX.4.44.0212091458170.12615-100000@ns.isi.ulatina.ac.cr>:
> 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????

By doing an open() call on the appropriate /dev/ node.

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur
    fuer einen Freien Staat voll Freier Bürger" | im Internet!
   Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Basic mp3 player
  2002-12-09 20:59   ` Fabio Miranda Hamburger
  2002-12-09 22:31     ` Jan-Benedict Glaw
@ 2002-12-09 23:04     ` Marius Nita
  1 sibling, 0 replies; 7+ messages in thread
From: Marius Nita @ 2002-12-09 23:04 UTC (permalink / raw)
  To: Fabio Miranda Hamburger; +Cc: linux-c-programming

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-12-09 23:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).