0
0

Just playing around with FMOD to playback some custom PCM streaming, and I’ve used the Microsoft MFC’s (VC++ .NET 2003) for the project. It all works near perfectly, but playback stutters when a dialog window is maximised or minimised.

To give a quick overview of how I have it working, I’m using FSOUND_Stream_Create and filling the buffer from a custom callback. This callback reads from a circular buffer, which is filled from a UDP stream.

Has anyone else eperienced this problem? If so, did you find a workaround?

Rewriting the application without using the MFC’s would be a mammoth task, as the audio is only one small part. I’m only a novice when it comes to programming, so please forgive me if this is a simple problem.

Thanks in advance for any help provided.

  • You must to post comments
0
0

I probably should have explained myself a little bit better, with the examples I have had no problem with this and it was only occuring when I used it in a MFC founded application. As I said my programming skills aren’t that crash hot in windows yet, so I couldn’t understand why it was misbehaving.

The system it’s currently running on is a Windows XP machine, based around an Athlon 64 with 1Gb of RAM. The CPU loads are of course nearly zero, and the latest Nvidia drivers are installed. Previously the audio has just been using the standard Windows control (as in the NT style) without hassles, it’s only been with FMOD that it’s occuring.

I’ll try and force the FSOUND_HW2D and see what difference it makes, as I’m only playing back one stream.

Thanks again for the reply, your help is greatly appreciated.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.