[wdmaudiodev] Re: Creating threads with high priority in APO

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 17 Dec 2014 20:51:02 +0000

Have the new thread register with the Multimedia Class Scheduler Service. This 
is the same thing that AudioDG.exe does for the APOProcess(…) thread.


MMCSS will give the thread regular boosts to high priority at periodic 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Dadi
Sent: Wednesday, December 17, 2014 12:45 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Creating threads with high priority in APO

We are trying to improve our APO processing performance by creating additional 
threads and then do parallel processing for some of our effects. However we 
found that the highest priority we can have for new threads we created (using 
CreateThread) is base priority 15 while the base priority of the main 
processing thread is 22.
Unfortunately we cannot use the new threads if they will not have priority at 
least as the main processing thread, we cannot gain any benefit from them this 
way so we need to create threads with priority 22 or more.
How can this be achieved?

Other related posts: