Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Audio Clip Sample

Shows how to use Microsoft Media Foundation to decode audio from a media file.

The Audio Clip sample application reads audio data from a media file and writes the uncompressed audio to a WAVE file.

APIs Demonstrated

This sample demonstrates the following Media Foundation interfaces:

Usage

This sample is a command-line application. It uses the following command-line arguments:

audioclip.exe inputfile outputfile.wav
  • inputfile: The name of a file that contains an audio stream.
  • outputfile.wav: The name of the WAVE file to write.

Requirements

ProductVersion
Windows SDKWindows 7
Microsoft WindowsWindows 7

 

Downloading the Sample

This sample is available in the following locations.

LocationPath/URL
Windows SDKSDK Root\Samples\multimedia\mediafoundation\AudioClip
MSDN Code GalleryDownload from MSDN Code Gallery

 

Related topics

Media Foundation SDK Samples
Source Reader
Tutorial: Decoding Audio

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.