Vista Audio Control Functions
VA provides Windows Vista and 7-compatible alternatives to some SoundSet/SoundGet subcommands, as well as some additional features that SoundSet/SoundGet do not support. See the online documentation for a list of functions.
Note: This library depends entirely upon APIs present only in Windows Vista and later. Scripts using it should NOT be run in XP compatibility mode or on any version of Windows older than Vista.
Notes for v2.1 and later:
- Requires AutoHotkey_L (any recent build should work).
- COM.ahk is NOT required. COM_Init() does NOT need to be called.
Notes for v2.0:
- Requires Sean's Standard Library COM.ahk
- COM must be initialized prior to calling any VA functions: COM_Init().
Installation: Download and extract VA.ahk into a Lib folder.
Download v2.3 for AutoHotkey 1.1 - v2.0 for AutoHotkey 1.0
VA is public domain or similar.
Device Topology / Subunits
Subunit/component names are defined by the audio drivers, so will vary from PC to PC. Volume subunits often have the same names as shown on the Levels tab in the Properties of the sound device. Mute subunits might not have unique names; in those cases, use a numeric index instead of a name.