| View previous topic :: View next topic |
| Author |
Message |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sat Mar 15, 2008 10:23 pm Post subject: Is SDL_mixer hardware accelerated? |
|
|
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 |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Sun Mar 16, 2008 3:04 am Post subject: |
|
|
| No. |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun Mar 16, 2008 3:07 am Post subject: |
|
|
| 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 |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Sun Mar 16, 2008 3:08 am Post subject: |
|
|
| See cooleyes' audio decoding stuff on this very forum. |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun Mar 16, 2008 3:11 am Post subject: |
|
|
| 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 |
|
 |
hlide
Joined: 10 Sep 2006 Posts: 750
|
Posted: Sun Mar 16, 2008 9:37 am Post subject: Re: Is SDL_mixer hardware accelerated? |
|
|
| 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 |
|
 |
|