Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 2.18 KB

interoperability-with-legacy-audio-apis.md

File metadata and controls

35 lines (22 loc) · 2.18 KB
description ms.assetid title ms.topic ms.date
Interoperability with Legacy Audio APIs
34939f6d-a6e4-4f7a-afa3-b1fed52b471f
Interoperability with Legacy Audio APIs
article
05/31/2018

Interoperability with Legacy Audio APIs

Many existing applications use legacy audio APIs such as DirectSound, DirectShow, and the Windows multimedia functions. With only minor modifications, these applications can be augmented to make use of device roles, session volume controls, and other features of the core audio APIs in Windows Vista.

As discussed in User-Mode Audio Components, the core audio APIs serve as the foundation on which higher-level audio APIs are built. In Windows Vista, the audio devices that applications access through legacy audio APIs such as DirectSound and the Windows media waveOutXxx and waveInXxx functions are, in fact, audio endpoint devices that are implemented by the core audio APIs. Because of inherent limitations in the interfaces of legacy audio APIs, an application can access some but not all of the capabilities of audio endpoint devices through these interfaces. The following sections describe techniques for enhancing existing applications by accessing additional capabilities of audio endpoint devices directly through the core audio APIs. These enhancements typically require only minor changes to the existing application code.

The following sections describe how to incorporate features of the core audio APIs into existing applications that use legacy audio APIs:

Related topics

Device Roles