* FAQ    * Search  * Register * Login 
Active topics
Unanswered topics

All times are UTC-06:00



Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: D2X-XL mp3/OGG support
PostPosted: Sun Dec 24, 2006 4:23 pm 
Offline
D2X Master
D2X Master
User avatar

Joined: Thu Nov 05, 1998 12:01 pm
Posts: 5278
Website: http://www.descent2.de
The good news:

I have added playlist support for using your own mp3/OGG music files in D2X-XL, and basically it works.

The bad news:

SDL_mixer needs a file named smpeg.dll to play mp3s. It comes with such a file, but playing mp3 with SDL_mixer results in completely distorted static. So I tried OGG. Had to get ogg.dll and vorbisfile.dll from the inet. SDL_mixer tries to use a function in ogg.dll (via vorbisfile.dll) that is not contained in it.

:evil: :evil: :evil:

Edit: I could fix the OGG bug (by recompiling the OGG/Vorbis source code) but not yet the mp3 problem. :(


Top
   
 Post subject:
PostPosted: Sun Dec 24, 2006 8:45 pm 
Offline
DBB Alumni
DBB Alumni
User avatar

Joined: Fri Apr 30, 1999 2:01 am
Posts: 5775
ICQ: 37279425
Website: http://www.kyouryuu.net
AOL: kyouryuu32
Location: Isla Nublar
I would suggest just focusing on OGG. Most games use OGG today, mainly because the MP3 codec is not open source.


Top
   
 Post subject:
PostPosted: Sun Dec 24, 2006 9:45 pm 
Offline
DBB Alumni
DBB Alumni
User avatar

Joined: Wed Mar 15, 2000 3:01 am
Posts: 8826
Location: Seattle
http://lame.sourceforge.net/index.php

?


Top
   
 Post subject:
PostPosted: Mon Dec 25, 2006 4:36 am 
Offline
D2X Master
D2X Master
User avatar

Joined: Thu Nov 05, 1998 12:01 pm
Posts: 5278
Website: http://www.descent2.de
Thx Crazy, I don't need an encoder, all I need is a decoding DLL. Or does Lame comprise one, too?

/me goes to check more

Hm. I think Lame is only to create mp3 files from other audio file formats, not for mp3 playback.


Top
   
 Post subject:
PostPosted: Sat Dec 30, 2006 2:50 pm 
Offline
DBB Ace
DBB Ace

Joined: Sat Apr 03, 2004 9:12 pm
Posts: 187
ICQ: 122082463
AOL: patches1177
http://www.underbit.com/products/mad/ Try this yet?


Top
   
 Post subject:
PostPosted: Sat Dec 30, 2006 5:10 pm 
Offline
D2X Master
D2X Master
User avatar

Joined: Thu Nov 05, 1998 12:01 pm
Posts: 5278
Website: http://www.descent2.de
I have everything I need now, thx.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Descent'rs have piloted these pages
 
The layout and contents contained within this site are © DescentBB.net 1997-2006.
Descent, Descent II are © Parallax Software Corporation.
Descent III is Outrage Entertainment.
Descent is a Trademark of Interplay Productions.

Miner Wars™ is trademark of Keen Software House s. r. o.
.


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group