Skip to content

Commit

Permalink
Add process priority change
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobidev committed Apr 21, 2021
1 parent 9d975db commit 0d17df8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions set-audiodg-affinity.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ if '%errorlevel%' NEQ '0' (
CD /D "%~dp0"


:: Set affinity
PowerShell.exe "$Process = Get-Process audiodg; $Process.ProcessorAffinity=1"

:: Set affinity and priority
PowerShell.exe "$Process = Get-Process audiodg; $Process.ProcessorAffinity=1; $Process.PriorityClass=""High"""
:: Affinity table
::Core # = Value = BitMask
::Core 1 = 1 = 00000001
Expand Down

0 comments on commit 0d17df8

Please sign in to comment.