Skip to content

Latest commit

 

History

History
 
 

WindowsAudioSession

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Windows Audio Session (WASAPI) sample

Demonstrates how to do various audio related tasks using the Windows Audio Session API (WASAPI).

Specifically, this sample covers:

  • Enumerating audio playback devices attached to the system and retrieve additional properties.
  • Demonstrates how to opt-in to hardware audio offload on supported devices.
  • Demonstrates how to implement the basic media transport controls in order to properly support background audio playback.
  • Playback of audio using the Windows Audio Session APIs.
  • Capture of PCM audio using the Windows Audio Session APIs.
  • Low latency audio playback and capture.

For more information on adding audio to your Windows Store app, see Quickstart: adding audio to an app.

Related topics

Roadmaps

Adding multimedia

Designing UX for apps

Roadmap for apps using C# and Visual Basic

Roadmap for apps using C++

Roadmap for apps using JavaScript

Reference

Windows Audio Session API (WASAPI)

Core Audio APIs

Media Foundation

Operating system requirements

Client: Windows 10 Windows Phone 10

Build the sample

To build this sample, open the solution (.sln) file in any version of Visual Studio, and then press F7 or select Build > Build Solution from the main menu.

Run the sample

To run this sample after building it, press F5 (run with debugging enabled) or Ctrl-F5 (run without debugging enabled) from Visual Studio 2013 for Windows 8.1 (any SKU). (Or select the corresponding options from the Debug menu.)