Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Playlist Sample

Shows how to use Microsoft Media Foundation to play a sequence of audio files in a playlist. The sample uses the Sequencer Source to create and manage the playlist.

Note  This sample is no longer included in the SDK.

APIs Demonstrated

This sample demonstrates the following Media Foundation interfaces:

Usage

The Playlist sample builds a Windows application.

  • To create a new playlist, select Add to Playlist from the File menu. In the Open File dialog, select one or more audio files. The files are added to the playlist.
  • To play the sequence, click Play.
  • To pause the current segment, click Pause.
  • To stop the current segment, click Stop.
  • To skip to a file, double-click the item in the playlist.
  • To delete a file from the playlist, select the item in the playlist. Then select Remove from Playlist from the File menu.

Requirements

ProductVersion
Windows SDKWindows Server 2008.
Microsoft WindowsWindows Vista

 

Downloading the Sample

This sample is available in the following locations.

LocationPath/URL
Windows SDKSDK Root\Samples\multimedia\mediafoundation\Playlist

 

Related topics

BasicPlayback Sample
Media Foundation SDK Samples
Sequencer Source

 

 

Community Additions

Show:
© 2015 Microsoft