MP3?

DOS specific questions.
Post Reply
jgartin
Posts: 2
Joined: Aug 10, 2005 1:11

MP3?

Post by jgartin »

I was wondering if there's an easy way to play MP3's under FBDOS. Any help would be appreciated.
DrV
Site Admin
Posts: 2116
Joined: May 27, 2005 18:39
Location: Midwestern USA
Contact:

Post by DrV »

I haven't tried any of these, but there are some MP3 player libraries listed here: http://www.damp-mp3.co.uk/developer/dload.html and here is an MP3 player for DOS with source code: http://www.fareham.org/music/mad/index.shtml

These were just found with a simple Google search, so I don't promise anything...
jgartin
Posts: 2
Joined: Aug 10, 2005 1:11

Post by jgartin »

Thanks for your help. Unfortunately, none of these libraries have header files for freebasic. I'm not really willing to go through the trouble of making my own.
Sterling Christensen
Posts: 142
Joined: May 27, 2005 6:13

Post by Sterling Christensen »

There are headers for FMOD, and it can play MP3s.
DrV
Site Admin
Posts: 2116
Joined: May 27, 2005 18:39
Location: Midwestern USA
Contact:

Post by DrV »

Sterling, you ported it to DOS and didn't tell anybody? ;)
MystikShadows
Posts: 612
Joined: Jun 15, 2005 13:22
Location: Upstate NY
Contact:

Post by MystikShadows »

huh? what? DrV I'll hold him, and you hit him until MY face is full of blood...next time he'll let us know before this ;-) hehehe.
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

Sound & DOS, MP3

Post by DOS386 »

I was wondering if there's an easy way to play MP3's under FBDOS
Sound under DOS: YES.

Easy: NO.

2 ways how to play sound:
- SB16 compatible driver (only old cards, newer have only
an "emulation" driver installed from Windworms with odd
system requirements :-( or none at all :-(
- access card directly (better, more difficult, separate code
for every single card/chip needed)

For a good player you need both.

http://www.mpxplay.net/

Problem:

- written in "C" not in FB, odd "pragma" ASM code

Note: MP3 is obsolete. It is patented and you can get troubles if you
implement it. Use OGG Vorbis instead. Use HX-DOS extender to run the "OGGENC2" compressor in DOS.
Last edited by DOS386 on Apr 28, 2008 0:18, edited 1 time in total.
Post Reply