To: Oleg, Chutla & Alipio.
First of all thanks for all your fast reply's.
I think I have used a bit of everything you guys said. I had some of your ideas already, but getting them confirmed as a smart thing to do, is always good.
In my implementation, I did today, I have made GOOP classes that do the following.
- Preload some of the *.wav into the buffer
- Playback the Audio.
- Pause the Audio.
- Buffer backlog, and refill if its getting low (in here my volume control is also implemented by the Math functions, and by keeping the buffer size low I avoid that the Volume feels unresponsive)
- Stop Function
Everything works fine, but keeping buffers from underrun, even on slow computers, was the main challenge (I think it works 🙂
T
hanks again. Daniel.