LoadAudioSample
BlitzMax Forums/BlitzMax Programming/LoadAudioSample
| ||
Is there a way to make LoadAudioSample() load sound and music files faster? It seems to take about two to four seconds to load. Thanks. |
| ||
I have the same problem with .ogg files [even small ones]. I haven't tested it, but have you tried using a .wav instead? |
| ||
I'll try loading a .wav sometime tonight. |
| ||
The main problem is that audio like a .ogg is loaded into memory as a sample - ie. it is decompressed in memory, and hangs around waiting to be played. Okay if you have some short sound effects, not so great if you want to play some background music. You might find a third party sound module that supports streaming will help you if memory/time is an issue. |
| ||
MaxMod works quite well. |