Compartilhar via


SDK Samples That Use the Core Audio APIs

Previous Next

SDK Samples That Use the Core Audio APIs

The Windows SDK includes code samples that demonstrate the use of the core audio APIs. The following samples are located in the directory %MSSdk%\samples\multimedia\audio, where %MSSdk% is the root directory of the Windows SDK installation on your computer.

  • AECMicArray. This sample uses the MMDevice, WASAPI, DeviceTopology, and EndpointVolume APIs to implement a DirectX media object (DMO) that captures a high-quality voice stream. The sample supports acoustic echo cancellation (AEC) and microphone array processing.
  • OSD. This sample uses the MMDevice and EndpointVolume APIs to implement an on-screen display that shows volume changes to the output stream that plays through the default audio-rendering endpoint device. The on-screen display appears when the user adjusts the volume level in the Windows volume-control program, Sndvol.exe, and it disappears after the volume level remains unchanged for a short period.
  • WinAudio. This sample uses the MMDevice API and WASAPI to play and capture audio streams. The user interface of this sample application enables users to select audio endpoint devices, to change the volume level of the local audio session, and to play .wav files and microphone input.

You can download the Windows SDK from the Microsoft Windows SDK Download Center Web site.

Previous Next