Hi Coder’s, 😉
I’ve installed a multimedia timer by calling timeSetEvent. This times calls regulary the method System::update() in order to be informed by the ‘Sound-End-Callback’ when a sound has finished playing. This works quite well except with cd’s. Sometimes the hole application will crash down and sometimes it simply stopps playing even if i call Sound::playSound(…).
I think it’s possible caused by calling System::update() to often…but if i decrease the interval it wont exactly enough.
thX in advance
PS: The interval of the timer is 20 milliseconds.
- CodeFinder asked 12 years ago