This project has moved and is read-only. For the latest updates, please go here.

Can we select the priority of MMCSS applied in the WASAPI out?

Apr 17, 2011 at 5:59 AM

e.g. such parameters:



So can we customize it actually?

Apr 18, 2011 at 12:06 PM

NAudio doesn't have support for setting these values at the moment. You are free to modify the code yourself though.


Apr 18, 2011 at 12:33 PM

All are just inside the avrt.dll or avrt.h

and you may have a look here:

And all the functions of MMCSS have the initial of "Av"

especially the most useful function:

BOOL WINAPI AvSetMmThreadPriority(
  __in  HANDLE AvrtHandle,
  __in  AVRT_PRIORITY Priority