0
0

Hi,

I don’t know if this is possible, but when I playing a Audio-File with my own developed MP3-Player (based on FModEx 4), the Performance of my system steadily decreasing. Only if I restarted my Player (shutdown the fmod sound system and start it again), the performance will better.

My Player should not be the problem, because it’s only a simple WinAPI-Application.
Is it possible, that I have something to do, when I start playing a new file (for example: cleaning cache or something like this).

So far, I managed it so, that when I start playing a new file, I stopped playing the old one and start playing the new one (starting playing a file with createStream and playSound and stopping playing a file with the method stop() (channel) and release() (stream)).

Alci

  • You must to post comments
0
0

Yes, I am using a Timer, but why should this be the problem? I will try it with a console example.

Thx.

  • You must to post comments
0
0

Ok, I found my error. It’s NOT the error of FModEx. I created a window handle with GetDC() but I don’t released it with ReleaseDC. The taskmanager showed me about 5000 GDI-Objects after 10 Minutes, but now it work’s great.

Sorry, alci.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.