Disable Hardware Acceleration programmatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everybody,
I think my question is quite clear from the subject...but let me explain you
what I'm trying to do: I use one computer as both a "general purpose" (email,
word processing, web surfing, development, etc.) and "digital audio
workstation". Since audio applications are very demanding I'm planning to
create a user account to use the "audio station" and I'm writing a Windows
Service which disables unuseful services in order to optimize performance.
Other things that can improve audio performance are setting
Performance/Processor Scheduling to "Background Services" and lowering
"Hardware Acceleration", so I was just thinking if there's a way to change
this settings with C# or VB and include the code in my Windows Service.

Thanks
 
You could probably just create a script file that starts/stops the services
you want to enable/disable. That way you wouldn't have the overhead of
running a service to stop unnecessary services. BlackViper runs a very
helpful site detailing which services you can dump some/all of the time:
www.blackviper.com

Processor scheduling I believe is controlled in the
HKLM\System\CurrentControlSet\Control\PriorityControl\Win32PrioritySeparatio
n registry hive. Set it to 38 for applications, 24 for services. I thought
it was handy so I blogged it here:
http://www.developmentnow.com/blog/2004/12/programatically-configure-windows.aspx

Standard disclaimers for the registry apply here: you could blow up your
computer, etc etc etc.
 
Hi Massimo,

i read ur message reagarding the performance settings. actually i am also
looking to change the hardware acceleration through code but could not find a
useful source. can you tell me how to set the hardware acceleration in c++ or
c#?

thanks
 
Back
Top