0
0

Hi there.

I hope I’m not asking something already answered, but I searched fot this topic and found nothing.

Is there any way to set FMOD Thread’s priority under win32?

According to the docs, the mixer thread’s priority should be THREAD_PRIORITY_TIME_CRITICAL, but Visual Studio reads:

0 0x00000e04 Worker Thread FMOD mixer thread 774af861 [b:1vhlwz7q]Above Normal[/b:1vhlwz7q] 0

So it would be nice if we could "play" a little with thread priority to perform a few tests.

Thanks in advance.

  • You must to post comments
0
0

If the mixer thread’s priority is THREAD_PRIORITY_TIME_CRITICAL, shouldn’t this output be "Critical" instead of "Above Normal"?

0 0x00000e04 Worker Thread FMOD mixer thread 774af861 [b:2ckn4ean]Critical[/b:2ckn4ean] 0

Are FMOD’s threads being created with priorities other than the ones stated in the docs?

  • You must to post comments
0
0

When using the WASAPI output mode (Vista / Win7 default) there are two threads associated with audio output. There is the mixer thread, which is set to ‘very high’ and the feeder thread which is set to ‘normal’. The mixer thread mixes up to ‘dspnumbuffers’ worth of ‘dspbuffersize’ samples in the background, while the feeder thread copies the data into the soundcard buffer. The feeder thread while set to ‘normal’ uses thread characteristics to promote it to ‘Pro Audio’ level which gives it a much higher dynamic thread priority.

  • You must to post comments
0
0

Thanks for the explanation. We were wondering what the feeder thread was for. :)

  • You must to post comments
0
0

You need source access to change the thread priorities.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.