Compartilhar via


Interoperability with Legacy Audio APIs

Previous Next

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:

Previous Next