Is SDL_mixer hardware accelerated?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Is SDL_mixer hardware accelerated?

Post by gambiting »

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!
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

No.
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

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!
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

See cooleyes' audio decoding stuff on this very forum.
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

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!
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Re: Is SDL_mixer hardware accelerated?

Post by hlide »

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).
Post Reply