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 

Is SDL_mixer hardware accelerated?

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



Joined: 17 Aug 2006
Posts: 154

PostPosted: Sat Mar 15, 2008 10:23 pm    Post subject: Is SDL_mixer hardware accelerated? Reply with quote

Hi! I have a question - is SDL_mixer hardware accelerated? When I load ogg file,and play it using sdl_mixer,my game slows down like 50%. I thought that sound decoding is accelerated by some hardware inside psp,not by main CPU?
_________________
My projects:
PSPSnake
Mandelbrot Fractal Generator
Shoot4Fun
BlowUp!
Back to top
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Sun Mar 16, 2008 3:04 am    Post subject: Reply with quote

No.
Back to top
View user's profile Send private message
gambiting



Joined: 17 Aug 2006
Posts: 154

PostPosted: Sun Mar 16, 2008 3:07 am    Post subject: Reply with quote

Insert_witty_name wrote:
No.
Ok.Is there any lib that accelerates audio decoding?I would really like to implement music in my game,but if it's hogging up my program will have to disable it.
_________________
My projects:
PSPSnake
Mandelbrot Fractal Generator
Shoot4Fun
BlowUp!
Back to top
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Sun Mar 16, 2008 3:08 am    Post subject: Reply with quote

See cooleyes' audio decoding stuff on this very forum.
Back to top
View user's profile Send private message
gambiting



Joined: 17 Aug 2006
Posts: 154

PostPosted: Sun Mar 16, 2008 3:11 am    Post subject: Reply with quote

Insert_witty_name wrote:
See cooleyes' audio decoding stuff on this very forum.
Ok,I see his examples for mp3 hardware decoding right now,I will check them out.Thanks :D
_________________
My projects:
PSPSnake
Mandelbrot Fractal Generator
Shoot4Fun
BlowUp!
Back to top
View user's profile Send private message
hlide



Joined: 10 Sep 2006
Posts: 750

PostPosted: Sun Mar 16, 2008 9:37 am    Post subject: Re: Is SDL_mixer hardware accelerated? Reply with quote

gambiting wrote:
Hi! I have a question - is SDL_mixer hardware accelerated? When I load ogg file,and play it using sdl_mixer,my game slows down like 50%. I thought that sound decoding is accelerated by some hardware inside psp,not by main CPU?


So far as I know ME audio codec doesn't support OGG format (not that it cannot but Sony probably doesn't support OGG anyway). If it is not an obstacle, you can use MP3 files instead through CoolEyes' audio decoding stuff in this forum (as already pointed by Insert_witty_name).
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