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
Product | Version |
---|---|
Windows SDK | Windows 7 |
Downloading the Sample
This sample is available in the Windows classic samples github repository.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for