Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 1.77 KB

wavsink-sample.md

File metadata and controls

61 lines (35 loc) · 1.77 KB
description ms.assetid title ms.topic ms.date
WavSink Sample
9e1af25f-d55c-45db-8c76-abf814e16700
WavSink Sample
article
05/31/2018

WavSink Sample

Shows how to implement a custom media sink in Microsoft Media Foundation. The sample implements an archive sink that writes uncompressed PCM audio to a .wav file.

APIs Demonstrated

This sample demonstrates the following Media Foundation interfaces:

Usage

The WavSink sample contains two Visual Studio projects:

  • WavSink.vcproj builds a static library that contains the media sink implementation.
  • WriteWavFile.vcproj builds a console application that uses the media sink to produce a .wav file. This application links to the library created by the WavSink project.

Requirements

Product Version
Windows SDK Windows 7

 

Downloading the Sample

This sample is available in the Windows classic samples github repository.

Related topics

Media Foundation SDK Samples

Media Sinks