Adding New Digital Formats to Control Panel

In Windows Vista and later versions of Windows, you can develop a third-party digital audio format that streams over SPDIF and make this format available in Control Panel.

After you develop your digital audio format, define a new GUID for the format and use an INF file to install the associated audio driver. The following code from an INF file shows how to add the necessary information about your new digital audio format to the registry:

AddReg = AddReg.NewDigitalFormat
HKLM, %My_SubKey%, "DisplayName",,"ABC Audio"
HKLM, %My_SubKey%, "CustomIcon",,"c:\Program Files\MyVendor\myicon.ico"
HKLM, %My_SubKey%, "TestFile",,"c:\Program Files\MyVendor\testfile.wav"
My_SubKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\SPDIF_Formats\{00000682-0000-0010-8000-00aa00389b71}"

In the preceding example, the GUID shown in the [Strings] section is used to illustrate the placement of the GUID that you define for your new digital format. HKLM is used as the standard abbreviation for HKEY_LOCAL_MACHINE.

Important  The two HKLM line entries for Mycion.ico and Testfile.wav are required. The "c:\Program Files\MyVendor\" folder has been used to show that you must create an appropriate folder for your driver-related icon and test wave files.



Send comments about this topic to Microsoft

© 2014 Microsoft