forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A better way to use SDL_mixer

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
_MakeFile_



Joined: 05 Jan 2006
Posts: 15

PostPosted: Tue Feb 14, 2006 6:43 am    Post subject: A better way to use SDL_mixer Reply with quote

I have recomplied the game abrick from the svn repository making some changes to the game's makefile. I found a better way to link SDL_mixer library when adding music to your game or application. Instead of just linking SDL_mixer to libvorbisdec for a temporary fix, it is better to link SDL_mixer to these libraries in this order -lvorbisfile -lvorbis -logg. That way, the game is complied correctly and the music works 100% correctly with the game. You can also add these libraries at the end of your library order if you like also. I know that the game abrick is not the best game out there right now but you can use this better linking method to any game or application that uses the SDL_mixer library so that the game or application is correctly calling the files it needs to play music from those libraries.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group