Answered by:
programmatically adjust audio hardware acceleration

Question
-
Hi there,
Is it possible, programmatically, set the level of acceleration for audio hardware?
I know its could be done through control panel\...\... .
Can it be done by simple application?
Wednesday, June 27, 2007 6:46 PM
Answers
-
Hi Genry,
You can write C# program to modify relevant items in Regedit to set hardware acceleration levels (total 4 levels) for Sound and Audio devices.
To find related Registry items to these hardware acceleration levels of Sound and Audio devices, suggest using RegSnap tool to scan Registry respectively after reset manually the acceleration level, then you can find related Registry items by comparing these scan reports.
e.g The following is comparation report summary between Standard Acceleration level and Basic Acceleration level, my PC runs on Wind2003 Enterprise Edition SP2.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability\LastAliveUptime
(Standard)New: DWORD: 146205 (0x23b1d)
(Basic) Old: DWORD: 145785 (0x23979)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Enum\HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801C5&REV_1022\4&14D5CE6&0&0201\DirectSound\Mixer Defaults\Acceleration
New: DWORD: 8 (0x8)
Old: DWORD: 15 (0xf)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current\System\CurrentControlSet\Enum\HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801C5&REV_1022\4&14D5CE6&0&0201\DirectSound\Mixer Defaults\Acceleration
New: DWORD: 8 (0x8)
Old: DWORD: 15 (0xf)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801C5&REV_1022\4&14D5CE6&0&0201\DirectSound\Mixer Defaults\Acceleration
New: DWORD: 8 (0x8)
Old: DWORD: 15 (0xf)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801C5&REV_1022\4&14D5CE6&0&0201\DirectSound\Mixer Defaults\Acceleration
New: DWORD: 8 (0x8)
Old: DWORD: 15 (0xf)
It's a nice tool, please have a try!
This thread is similar to your case.
Good luck!
Thursday, June 28, 2007 6:32 PM -
Martin Xie - MSFT wrote: Hi Genry,
You can write C# program to modify relevant items in Regedit to set hardware acceleration levels (total 4 levels) for Sound and Audio devices.
To find related Registry items to these hardware acceleration levels of Sound and Audio devices, suggest using RegSnap tool to scan Registry respectively after reset manually the acceleration level, then you can find related Registry items by comparing these scan reports.
It's a nice tool, please have a try!
This thread is similar to your case.
Good luck!
Thursday, June 28, 2007 7:26 PM
All replies
-
Here are just some references to Audio Optimization.
Thursday, June 28, 2007 11:23 AM -
Thanks for the help but it is not what i'm looking for.
I would like to have access to the 'hardware acceleration' parameters and be able to change it. Same way as it is possible by using control panel\sound and audio\...
RegardsThursday, June 28, 2007 3:46 PM -
Hi Genry,
You can write C# program to modify relevant items in Regedit to set hardware acceleration levels (total 4 levels) for Sound and Audio devices.
To find related Registry items to these hardware acceleration levels of Sound and Audio devices, suggest using RegSnap tool to scan Registry respectively after reset manually the acceleration level, then you can find related Registry items by comparing these scan reports.
e.g The following is comparation report summary between Standard Acceleration level and Basic Acceleration level, my PC runs on Wind2003 Enterprise Edition SP2.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability\LastAliveUptime
(Standard)New: DWORD: 146205 (0x23b1d)
(Basic) Old: DWORD: 145785 (0x23979)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Enum\HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801C5&REV_1022\4&14D5CE6&0&0201\DirectSound\Mixer Defaults\Acceleration
New: DWORD: 8 (0x8)
Old: DWORD: 15 (0xf)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current\System\CurrentControlSet\Enum\HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801C5&REV_1022\4&14D5CE6&0&0201\DirectSound\Mixer Defaults\Acceleration
New: DWORD: 8 (0x8)
Old: DWORD: 15 (0xf)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801C5&REV_1022\4&14D5CE6&0&0201\DirectSound\Mixer Defaults\Acceleration
New: DWORD: 8 (0x8)
Old: DWORD: 15 (0xf)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801C5&REV_1022\4&14D5CE6&0&0201\DirectSound\Mixer Defaults\Acceleration
New: DWORD: 8 (0x8)
Old: DWORD: 15 (0xf)
It's a nice tool, please have a try!
This thread is similar to your case.
Good luck!
Thursday, June 28, 2007 6:32 PM -
Martin Xie - MSFT wrote: Hi Genry,
You can write C# program to modify relevant items in Regedit to set hardware acceleration levels (total 4 levels) for Sound and Audio devices.
To find related Registry items to these hardware acceleration levels of Sound and Audio devices, suggest using RegSnap tool to scan Registry respectively after reset manually the acceleration level, then you can find related Registry items by comparing these scan reports.
It's a nice tool, please have a try!
This thread is similar to your case.
Good luck!
Thursday, June 28, 2007 7:26 PM -
Thanks Martin,
Sorry for my late response ( kind of vacation)
Surprisingly enough, after trying to find solution for a while I come up with the same idea, just change registry. I was hard to find those registries but at the end I got it.
Thanks again,
Friday, July 6, 2007 12:23 PM -
Hi Genry,
Had a good time on vacation!
I'm glad to hear that you found the solution.
Thank you for your active participation and feedback!
And if you have any difficulties in future developing, please feel free to come back!
Friday, July 6, 2007 12:44 PM