#1 Members - Reputation: 208
Posted 12 October 2012 - 12:18 PM
I was wondering if multi threading would solve this...
#2 Members - Reputation: 382
Posted 12 October 2012 - 12:34 PM
Can you not just preload your sound effects? Then just stream the music (if you even need to stream it, maybe you can preload this too, depending on the platform?).
If you preload them you can decompress them ahead of time from e.g. ogg, into raw data, then play them without having to run the decompression on the fly.
#3 Members - Reputation: 3503
Posted 12 October 2012 - 12:36 PM
Did you rip sounds from a Nintendo game to use in your game? The real answer in that case is to not commit copyright infringement.
#4 Members - Reputation: 208
Posted 12 October 2012 - 12:50 PM
Daark: the NSF files are my original music. made with famitracker. The reason I want to use NSF's is that sometimes NSF's slow down when changing screens etc... And I love that nostalgic feeling
#7 Members - Reputation: 208
Posted 12 October 2012 - 05:28 PM
Edited by tashaklikedi, 12 October 2012 - 05:29 PM.
#8 Members - Reputation: 102
Posted 12 October 2012 - 07:29 PM
http://connect.creativelabs.com/openal/default.aspx
On a side note, I used SDL for a while and found SFML. It's a modern, OpenGL, open-sourced library that has pretty much everything SDL has. Portability is not quite as extensive (you won't be running SFML on a portable device or console), but it's definitely worth checking out. SFML has a MUCH more feature rich sound system. When I switched to SFML I never looked back to SDL.
Also, I'm new to these forums, so I'm sorry if "advertising" is against the rules, haha.
#9 Members - Reputation: 208
Posted 13 October 2012 - 01:42 PM
You should check out OpenAL. It's got an open licence, but it will take a bit of work to set up (SDL takes care of a lot for you).
http://connect.creat...al/default.aspx
On a side note, I used SDL for a while and found SFML. It's a modern, OpenGL, open-sourced library that has pretty much everything SDL has. Portability is not quite as extensive (you won't be running SFML on a portable device or console), but it's definitely worth checking out. SFML has a MUCH more feature rich sound system. When I switched to SFML I never looked back to SDL.
Also, I'm new to these forums, so I'm sorry if "advertising" is against the rules, haha.
I know about SFML, I never tried it but I know that it has more features than SDL ( like sprite rotating). As for the sound I went for FMOD and it worked well ^^.






