delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/19/12:45:38

From: "Ross Boast" <Rossa AT btinternet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Mp3 Files... routines?
Date: 19 Jan 1998 17:37:48 GMT
Organization: BT Internet
Lines: 65
Message-ID: <01bd2500$edf31340$483063c3@default>
References: <34C297C0 DOT 4D5C9719 AT worldchat DOT com>
NNTP-Posting-Host: host5-99-48-72.btinternet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hallo,
  
> I'd love to be able to play mp3 files as background music.  

Indeed thats exactly what i wanted to do, i am in the process of making a
routine which will play an mp3 as background in my _ahem_ 'game'. :)

>I've found some routines that play mp3's on gcc for unix.  I'm not a
low-level
> programmer whatsoever so I wouldn't know where to start on converting
> the source.  I'd also have no idea as to how to make it compatible with
> allegro.  If anyone can help I'd really appriciate it, and if there's
> already a solution to this problem I'd be glad to know it :)

You're in luck, Ove Kaaven has ported AMP to DJGPP/ALLEGRO (DOSAMP), and
made a library out of it :) you can d/l this package at:

http://www.arcticnet.no/~ovek/files/

Its a very good library, comes with a good example and is fairly easy to
understand! not to mention Ove's kind help which he has given me on a
number of occasions :).

If you need a further example/help try my site
(http://www.btinternet.com/~rossa/) where i have made a very simple MSDOS
mp3 player, complete w/DJGPP source. Er don't take it seriously as a proper
MP3 player tho, heh.

> Mp3's are the most compact files for their quality, and there's no real
> point in hiding the code since WinAMP is free and does a great job.

Indeed they are, the code isn't hidden and i believe the mpeg decoder AMP
(ftp://ftp.rasip.fer.hr/pub/mpeg/) by Tomislav Uzelac is free.


Rossa :)
at
Rossa AT BTinternet DOT com

The start of my site :

http://www.btinternet.com/~rossa/


Brian Hogg <bhogg AT worldchat DOT com> wrote in article
<34C297C0 DOT 4D5C9719 AT worldchat DOT com>...
> I'd love to be able to play mp3 files as background music.  I've found
> some routines that play mp3's on gcc for unix.  I'm not a low-level
> programmer whatsoever so I wouldn't know where to start on converting
> the source.  I'd also have no idea as to how to make it compatible with
> allegro.  If anyone can help I'd really appriciate it, and if there's
> already a solution to this problem I'd be glad to know it :)
> 
> Mp3's are the most compact files for their quality, and there's no real
> point in hiding the code since WinAMP is free and does a great job.
> 
> Please e-mail me if you can help..
> 
> Thanks,
> Brian
> ----------
>      Game Development Team (DJGPP)
>      http://team.home.ml.org
> 
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019