Universal Windows Drivers for Audio - Windows drivers (2023)

  • Article
  • 8 minutes to read

In Windows10 you can write a universal audio driver that will work across many types of hardware. This topic discusses the benefits of this approach as well as the differences between platforms. In addition to the Universal Windows drivers for audio, Windows continues to support previous audio driver technologies, such as WDM.

Getting Started with Universal Windows drivers for Audio

IHVs can develop a Universal Windows driver that works on all devices (desktops, laptops, tablets, phones). This can reduce development time and cost for initial development and later code maintenance.

These tools are available to develop Universal Windows drivers:

  • Visual Studio 2015: Set "Target Platform" equal to "Universal". For more information about setting up the driver development environment, see Getting Started with Universal Windows Drivers.

  • APIValidator Tool: You can use the ApiValidator.exe tool to verify that the APIs your driver calls are valid for a Universal Windows driver. This tool is part of the Windows Driver Kit (WDK) for Windows10, and runs automatically if you are using Visual Studio 2015. For more information, see Validating Universal Windows Drivers.

  • DDI reference documentation: The DDI reference documentation is updated to indicate which DDIs are supported by Universal Windows drivers. For more information, see Audio Devices Reference.

Create a Universal Audio Driver

For step-by-step guidance, see Getting Started with Universal Windows Drivers. Here is a summary of the steps:

  1. Load the universal audio sysvad sample to use as starting point for your universal audio driver. Alternatively, start with the empty WDM driver template and add in code from the universal sysvad sample as needed for your audio driver.

  2. In the project properties, set Target Platform to "Universal".

  3. Create an installation package: If your target is device running Windows10 for desktop editions (Home, Pro, Enterprise, and Education), use a configurable INF file. If your target is device running Windows10 Mobile, use PkgGen to generate an .spkg file.

  4. Build, install, deploy, and debug the driver for Windows10 for desktop editions or Windows10 Mobile.

Sample Code

Sysvad and SwapAPO have been converted to be Universal Windows driver samples. For more information, see Sample Audio Drivers.

(Video) Windows Audio Drivers & ASIO

Available Programming Interfaces for Universal Windows drivers for Audio

Starting with Windows10, the driver programming interfaces are part of OneCoreUAP-based editions of Windows. By using that common set, you can write a Universal Windows driver. Those drivers will run on both Windows10 for desktop editions and Windows10 Mobile, and other Windows10 versions.

The following DDIs to are available when working with universal audio drivers.

Convert an Existing Audio Driver to a Universal Windows driver

Follow this process to convert an existing audio driver to a Universal Windows driver.

  1. Determine whether your existing driver calls will run on OneCoreUAP Windows. Check the requirements section of the reference pages. For more information see Audio Devices Reference.

  2. Recompile your driver as a Universal Windows driver. In the project properties, set Target Platform to "Universal".

  3. Use the ApiValidator.exe tool to verify that the DDIs that your driver calls are valid for a Universal Windows driver. This tool is part of the Windows Driver Kit (WDK) for Windows10, and runs automatically if you are using Visual Studio 2015. For more information, see Validating Universal Windows Drivers.

    (Video) Find & Install Windows PC Drivers AUTOMATICALLY For Free

  4. If the driver calls interfaces that are not part of OneCoreUAP, the compiler reports errors.

  5. Replace those calls with alternate calls, or create a code workaround, or write a new driver.

Creating a componentized audio driver installation

Overview

To create a smoother and more reliable install experience and to better support component servicing, divide the driver installation process into the following components.

  • DSP (if present) and Codec
  • APO
  • OEM Customizations

Optionally, separate INF files can be used for the DSP and Codec.

This diagram summarizes a componentized audio installation.

Universal Windows Drivers for Audio - Windows drivers (1)

A separate extension INF file is used to customize each base driver component for a particular system. Customizations include tuning parameters and other system-specific settings. For more information, seeUsing an Extension INF File.

An extension INF file must be a universal INF file. For more information, see Using a Universal INF File.

For information about adding software using INF files, see Using a Component INF File.

Submitting componentized INF files

APO INF packages must be submitted to the Partner Center separately from the base driver package. For more information about creating packages, see Windows HLK Getting Started.

SYSVAD componentized INF files

To see an example of componentized INF files examine the sysvad/TabletAudioSample, on Github.

File nameDescription
ComponentizedAudioSample.infThe base componentized sample audio INF file.
ComponentizedAudioSampleExtension.infThe extension driver for the sysvad base with additional OEM customizations.
ComponentizedApoSample.infAn APO sample extension INF file.

The traditional INF files continue to be available in the SYSVAD sample.

File nameDescription
tabletaudiosample.infA desktop monolithic INF file that contains all of the information needed to install the driver.

APO vendor specific tuning parameters and feature configuration

All APO vendor system specific settings, parameters, and tuning values must be installed via an extension INF package. In many cases, this can be performed in a simple manner with the INF AddReg directive. In more complex cases, a tuning file can be used.

(Video) ✅ DESCARGAR Driver De SONIDO Para Windows 7 32 y 64 bits UNIVERSAL

Base driver packages must not depend on these customizations in order to function (although of course functionality may be reduced).

UWP Audio Settings APPs

To implement an end user UI, use a Hardware Support App (HSA) for a Windows Universal Audio driver. For more information, see Hardware Support App (HSA): Steps for Driver Developers.

Programmatically launching UWP Hardware Support Apps

To programmatically launch a UWP Hardware Support App, based on a driver event (for example, when a new audio device is connected), use the Windows Shell APIs. The Windows 10 Shell APIs support a method for launching UWP UI based on resource activation, or directly via IApplicationActivationManager. You can find more details on automated launching for UWP applications in Automate launching Windows 10 UWP apps.

APO and device driver vendor use of the AudioModules API

The Audio Modules API/DDI is designed to standardize the communication transport (but not the protocol) for commands passed between a UWP application or user-mode service to a kernel driver module or DSP processing block. Audio Modules requires a driver implementing the correct DDI to support module enumeration and communication. The commands are passed as binary and interpretation/definition is left up to the creator.

Audio Modules is not currently designed to facilitate direct communication between a UWP app and a SW APO running in the audio engine.

For more information about audio modules, see Implementing Audio Module Communication and Configure and query audio device modules.

APO HWID strings construction

APO Hardware IDs incorporate both standard information and vendor-defined strings.

They are constructed as follows:

SWC\VEN_v(4)&AID_a(4)&SUBSYS_ n(4)s(4) &REV_r(4)SWC\VEN_v(4)&AID_a(4)&SUBSYS_ n(4)s(4)SWC\VEN_v(4)&AID_a(4)

Where:

  • v(4) is the 4-character identifier for the APO device vendor. This will be managed by Microsoft.
  • a(4) is the 4-character identifier for the APO, defined by the APO vendor.
  • n(4) is the 4-character PCI SIG-assigned identifier for the vendor of the subsystem for the parent device. This is typically the OEM identifier.
  • s(4) is the 4-character vendor-defined subsystem identifier for the parent device. This is typically the OEM product identifier.

Plug and Play INF version and date evaluation for driver update

The Windows Plug and Play system evaluates the date and the driver version to determine which drive to install when multiple drivers exist. For more information, see How Windows Ranks Drivers.

To allow the latest driver to be used, be sure and update the date and version, for each new version of the driver.

APO driver registry key

For third party-defined audio driver/APO registry keys, use HKR.

Use a Windows Service to facilitate UWP <-> APO communication

A Windows Service is not strictly required for management of user-mode components like APOs. However, if your design includes an RPC server to facilitate UWP <-> APO communication, we recommend implementing that functionality in a Windows Service that then controls the APO running in the audio engine.

(Video) How to Download and Update Realtek HD Audio Driver on Windows 10 or Windows 11

Building the Sysvad Universal Audio Sample for Windows10 Desktop

Complete the following steps to build the sysvad sample for Windows10 desktop.

  1. Locate the desktop inf file (tabletaudiosample.inf) and set the manufacturer name to a value such as "Contoso"

  2. In Solution Explorer, select and hold (or right-click) Solution 'sysvad' , and choose Configuration Manager. If you are deploying to a 64 bit version of Windows, set the target platform to x64. Make sure that the configuration and platform settings are the same for all of the projects.

  3. Build the all of the projects in the sysvad solution.

  4. Locate the output directory for the build from the build. For example it could be located in a directory like this:

    C:\Program Files (x86)\Windows Kits\10\src\audio\sysvad\x64\Debug\package
  5. Copy the following files to the system that you want to install the sysvad driver:

FileDescription
TabletAudioSample.sysThe driver file.
tabletaudiosample.infAn information (INF) file that contains information needed to install the driver.
sysvad.catThe catalog file.
SwapAPO.dllA sample driver extension for a UI to manage APOs.
KeywordDetectorAdapter.dllA sample keyword detector.

Install and test the driver

Follow these steps to install the driver using the PnpUtil on the target system.

  1. Open and Administrator command prompt and type the following in the directory that you copied the driver files to.

    pnputil -i -a tabletaudiosample.inf

  2. The sysvad driver install should complete. If there are any errors you can examine this file for additional information: %windir%\inf\setupapi.dev.log

  3. In Device Manager, on the View menu, choose Devices by type. In the device tree, locate Microsoft Virtual Audio Device (WDM) - Sysvad Sample. This is typically under the Sound, video and game controllers node.

  4. On the target computer, open Control Panel and navigate to Hardware and Sound > Manage audio devices. In the Sound dialog box, select the speaker icon labeled as Microsoft Virtual Audio Device (WDM) - Sysvad Sample, then select Set Default, but do not select OK. This will keep the Sound dialog box open.

  5. Locate an MP3 or other audio file on the target computer and double-click to play it. Then in the Sound dialog box, verify that there is activity in the volume level indicator associated with the Microsoft Virtual Audio Device (WDM) - Sysvad Sample driver.

    (Video) How To Uninstall Realtek Audio Driver In Windows 11

FAQs

How do I reinstall Windows audio drivers? ›

If the issue still persists, kindly go to Settings>Update & Security>Windows Update. If there is a "View optional updates", click it. Next, click on Driver updates and see if your audio driver is listed there. If so, check that driver and click on "Download and install".

What are universal Windows drivers? ›

A Universal Windows driver is a kernel-mode or user-mode driver binary that installs and runs on UWP-based editions of Windows 10. A Universal Windows driver calls only device driver interfaces (DDIs) that are part of UWP.

How do I fix missing audio drivers Windows 10? ›

Make sure your audio driver is up to date and update it if needed. If that doesn't work, try uninstalling the audio driver (it will reinstall automatically). If that doesn't work, try using the generic audio driver that comes with Windows.

How do I find my audio driver Windows? ›

Update audio drivers on Windows 10
  1. Click on the Start menu and type in Device Manager. ...
  2. Search for Sound, video and game controllers. ...
  3. Double-click on the audio entry and switch over to the Driver tab. ...
  4. Select Search automatically for updated driver software.
26 Sept 2019

How do I restore my sound drivers? ›

Reinstall audio driver from Control Panel
  1. Type Appwiz. ...
  2. Find audio driver entry and Right-click on the audio driver and then choose Uninstall option.
  3. Choose Yes to continue.
  4. Reboot your device when the driver is removed.
  5. Get the latest version of the audio driver and install it on your PC.
18 Jan 2021

How do I manually install audio drivers Windows 10? ›

How to Install Audio Driver Windows 10 (Official Dell Tech Support)

Is there a universal graphics driver? ›

Intel has introduced today its Universal Windows Driver (UWD) for operating systems that are on Microsoft's Universal Windows Platform (UWP), such as Windows 10 and Windows Server 2019 or later.

What is a UWD driver? ›

In essence, UWD enables developers to create a single driver package that runs across multiple different device types, from embedded systems to tablets and desktop PCs. Intel has released the first UWD graphics drivers which bump the drivers to v25. 20.100. 6444.

What is Bluetooth UWD driver? ›

Restart required. This package contains the driver for the Intel 9560 Bluetooth cards. Bluetooth driver is the software that helps your operating system to communicate with Bluetooth devices.

Why is my computer not detecting my audio device? ›

Check device and driver status in Device Manager

Use Device Manager to check if the audio device is disabled, and then install an available driver update. In Windows, search for and open Device Manager. Double-click Sound, video and game controllers. Right-click the audio device, and then select Update Driver.

Why is my audio device not detected? ›

Update Sound Drivers

As mentioned, the “no audio output device is installed in Windows 10” error happens due to a corrupted or outdated driver. Therefore, the best way to fix this error is to update your sound drivers. You can update drivers manually, but it can be somewhat a daunting task.

Why are my audio drivers gone? ›

Missing sound card section

If you are missing the Sound, video and game controllers category in Device Manager, your sound card drivers may not be installed properly. Your sound card may also be disabled, malfunctioning, or unavailable. First, verify no conflicts or other devices are present in the Device Manager.

How do I know which audio driver to install? ›

Write down the sound-card model information provided. This is located next to a speaker icon and usually includes the manufacturer's name and the model number. Use this information to determine which sound-card driver you need.

Which audio driver is best for Windows 10? ›

Download Audio Drivers For Windows 10 - Best Software & Apps
  • Realtek HD Audio Drivers x64. ...
  • Realtek HD Audio Drivers. ...
  • Audio driver for Microsoft Windows 7. ...
  • IDT High Definition Audio CODEC. ...
  • Realtek HD Audio Drivers. ...
  • Realtek UAD Driver. ...
  • Audio: Realtek High Definition Audio System. ...
  • Realtek Audio Driver for Windows 7 for Desktop s.

Is Realtek audio driver necessary? ›

Realtek High Definition Audio Driver is the most popular sound driver for Windows systems, and it helps manage surround sound, Dolby and DTS sound systems on your computer. You need this driver for your audio device to even work on the PC – so uninstalling it would create serious audio errors.

How do I reinstall Realtek audio drivers? ›

You'll find this easy to do on Windows 10 by simply clicking the Start Menu and going to Device Manager. Once you're there, you can navigate to “sound, video and game controllers,” find the device that needs to be updated, right click it and select “update driver.”

Where can I get Realtek audio drivers? ›

Visit the Realtek website to find the drivers corresponding with your system version and then download the driver manually. Once you've downloaded the correct drivers for your system, double-click on the downloaded file and follow the on-screen instructions to install the driver.

Will resetting PC fix audio issues? ›

If you're experiencing issues with your audio, resetting your PC may help resolve the issue. A reset will restore your PC to its default settings, which can help fix audio problems. However, a reset will also erase any personal files and data on your PC, so be sure to back up your files before resetting.

Can I install a new audio driver Windows 10? ›

You can either manually download and install or let the Windows Update service to download and install the driver. Go to Settings > Update & Security > Windows Update page and then click on the Check for updates button to let Windows 10 automatically download and install the latest sound driver.

How do I install a generic audio driver? ›

How to Fix Generic Audio Driver Detected in Windows 10 - YouTube

How do I manually install audio drivers? ›

Open Device Manager.
  1. Open Device Manager.
  2. Expand Audio inputs and outputs.
  3. Double-click your audio device.
  4. Go to the Driver tab.
  5. Click Update driver.
  6. Allow Windows 10 to install any drivers that it finds.
  7. If no drivers are found, click 'Search for updated drivers on Windows update'.
17 Oct 2020

Are Nvidia drivers Universal? ›

Are Nvidia drivers universal? Yes, you can download latest driver and install it for any nVidia graphics card, it'll work.

Which is the best display driver? ›

Latest Drivers in Graphics Cards
  • AMD Radeon Adrenalin 2022 Edition Graphics Driver 22.10.2 Hotfix. ...
  • Intel HD Graphics Driver 31.0.101.3729 for Windows 11/10 64-bit. ...
  • Intel Arc Graphics Windows DCH Driver 31.0.101.3490. ...
  • Nvidia GeForce Graphics Driver 522.25. ...
  • Nvidia GeForce Graphics Driver 522.25 for Windows 10.

Which graphic driver is best for Windows 10? ›

Nvidia GeForce Graphics Driver 451.67 for Windows 10.

What is a Wi Fi UWD driver? ›

This package contains the driver for the Intel AX200, AX201, 9260, 9560 and 9462 wireless cards. Wireless driver is the software that helps your operating system to communicate with wireless devices such as wireless cards and network adapters.

How do I get the latest Bluetooth driver? ›

Install Bluetooth driver manually summary
  1. Open Settings.
  2. Click on Update & Security.
  3. Click on Windows Update.
  4. Click the Check for updates button (if applicable).
  5. Click the View optional updates option.
  6. Click the Driver updates tab.
  7. Select the driver you want to update.
  8. Click the Download and install button.

How do I install Intel Bluetooth driver? ›

Download the Intel® Wireless Bluetooth® Software.
...
Upgrade
  1. Run the installer package that has the newest version of the software, and follow the software wizard instructions.
  2. Uninstall the software version you have on your system.
  3. Reboot your PC, and run the installer package that has the newest version of the software.

What is Intel R Bluetooth? ›

Bluetooth® Technology is a wireless technology that enables short-range wireless communication between electronics devices. Most of the recent Intel® Wireless Adapters support Bluetooth Technology. Similar to Wi-Fi, Bluetooth operates on the 2.4 GHz frequency.

How do I reinstall Realtek audio drivers? ›

You'll find this easy to do on Windows 10 by simply clicking the Start Menu and going to Device Manager. Once you're there, you can navigate to “sound, video and game controllers,” find the device that needs to be updated, right click it and select “update driver.”

How do I uninstall and reinstall sound drivers? ›

Go back to the Device Manager box, right-click the audio driver and choose Uninstall; if you have a touch-screen device, press and hold the driver to get the Uninstall option from the menu. Restart your computer, and Windows will try to reinstall it for you.

How do I restore Realtek HD Audio Manager? ›

Reinstall Realtek HD Audio Driver in Windows 10. Press Windows + X, and choose Device Manager to access it. Click Sound, video and game controllers, and right-click Realtek High Definition Audio to choose Uninstall device. Restart your computer to Reinstall Realtek HD Audio Manager and audio driver.

How do I reinstall Windows 11 audio drivers? ›

Method 2: Reinstall Audio Driver From Control Panel
  1. Type in appwiz. cpl in windows start menu search bar and press the Enter key. ...
  2. Now you have to locate your audio driver entry from the list of software. ...
  3. Once the uninstallation is complete, restart your machine for the missing drivers to get installed automatically.
29 Sept 2021

Why can't I find Realtek HD Audio Manager? ›

Answer: The Realtek HD Audio Manager may not be present on the system. Therefore, to bring it back on the system, follow any one of the methods mentioned below: Update Sound Drivers present on the system. Download Realtek HD Audio Manager from the official website and install it on the system.

Does Windows 10 need Realtek audio drivers? ›

Realtek High Definition Audio Driver is the most popular sound driver for Windows systems, and it helps manage surround sound, Dolby and DTS sound systems on your computer. You need this driver for your audio device to even work on the PC – so uninstalling it would create serious audio errors.

Why is Realtek audio not working? ›

Update Realtek High-Definition Audio

Common sound problems on Windows are outdated, corrupt, or missing drivers. To fix this issue, downloading and installing the latest driver is recommended. This can be done either manually or automatically.

Where can I get Realtek audio drivers? ›

Visit the Realtek website to find the drivers corresponding with your system version and then download the driver manually. Once you've downloaded the correct drivers for your system, double-click on the downloaded file and follow the on-screen instructions to install the driver.

What happens if you uninstall audio drivers? ›

The only thing that happens when you don't have audio drivers, is that you don't have audio anymore. Nothing else should happen.

How do I know what audio driver I need? ›

Write down the sound-card model information provided. This is located next to a speaker icon and usually includes the manufacturer's name and the model number. Use this information to determine which sound-card driver you need.

How do I repair Realtek HD Audio driver failure? ›

How to Fix Install Realtek HD Audio Driver Failure
  1. Repair Corrupt Files.
  2. Method 2: Check for malfunctioning drivers and update manually.
  3. Method 3: Use the Add legacy hardware option in Device Manager.
  4. Method 4: Remove the drivers, and let Windows install its own.

How do I fix Realtek Audio driver Not Working? ›

Alternatively, you can go to Device Manager > Sound, video, and game controllers > expand the category > right-click Realtek High Definition Audio > Update driver > Search automatically for driver > Windows 10 will automatically begin updating the latest driver available in the database > Restart the PC to apply ...

Why do I not have Realtek high definition audio driver? ›

The trick to solving the missing Realtek HD Audio Manager is to uninstall the latest version (v 2.82). After that, you have two choices — reinstall a lower version or the latest version by fetching it from Realtek's website.

Which audio driver is best for Windows 11? ›

Realtek High Definition Audio Driver is the most popular choice for sound drivers for Windows computers as it allows you to use your computer to operate surround sound, Dolby, and DTS sound systems.

How do I fix my generic audio driver Windows 11? ›

  1. Method 1: Make Sure Audio Services are Enabled.
  2. Method 2: Disable and Enable the Audio Device.
  3. Method 3: Uninstall and Reinstall Your Audio Driver.
  4. Method 4: Update Your Audio Drivers.
  5. Method 5: Turn Off Audio Enhancements.
  6. Method 6: Use Windows' native Sound Drivers.

How do I fix No audio output device is installed Windows 11? ›

7 Best Solutions to Fix No Audio Output Device Is Installed Error
  1. Make Sure All External Conditions OK.
  2. Run the Playing Audio Troubleshooter.
  3. Uninstall Audio Drivers.
  4. Install & Update Outdated Drivers.
  5. Fix No Sound with Driver Booster.
  6. Check for Windows updates.
  7. Re-enable the device.

Videos

1. How to download Windows XP sound drivers
(Shevin Jeremy)
2. Driver VIA audio Codec - Windows 10.
(Tecnoriales)
3. Optimizing your Windows Computer for Audio
(Universal Audio)
4. What to do if you have problems with your USB Audio Driver
(tangotellet)
5. How to Install Realtek Microphone Drivers In Windows 10/8/7 [Tutorial]
(MDTechVideos)
6. Download All PC Drivers Latest Version 2022 For Windows 7,8,10,11
(Technical Info Lab)
Top Articles
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated: 16/11/2023

Views: 6018

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.