I’m working on my app, tweaking, etc. Basically it’s a clock app, triggering sounds at certain times.
I’m wondering what are some best practices for max performance on a pocket pc? When my event kicks off the sound, there’s a noticeable delay — about 10 seconds — before the sound starts… this function calls init, and tries to play (stream) a 4mb file from a CF card.
From some simple testing, the CF card is a big bottleneck as I can cut a big chunk of that time off by moving to main memory.
What are some other good tips for ensuring the fastest load/play times? Is it normal to initialize fmod when the application loads (in my case it may be some time before I actually call anything else from fmod).
Thanks for the help,
- Anonymous asked 15 years ago
Thanks for the reply. I tested it a few more times and, off the CF card, it’s consistently 8 seconds… in main memory, it’s 2 seconds.
I tried playing with the buffer size, but it didn’t affect much. In the sample app that comes with the API, the load time is the same.
Perhaps loading and playing it separately is the way to do it? Basically now I’m loading and playing at the same time, so likely the delay is all in the load?
Thanks for your help,
Please login first to submit.