Location:
Search - bgmusic s
Search list
Description: 此示例显示了如何在一个过滤器来交换图源过滤器。它将
通过三个周期MP3文件,显示每个文件的名称,因为它是发挥。
本示例使用的MP3文件位于目录中的媒体
DirectX SDK的(<sdk根> \样本\媒体)。
当应用程序开始时,它呈现在序列的第一个音频文件
并设置一个计时器。每当计时器火灾,应用程序将删除当前
源过滤器和一个源替换为下一个文件过滤。
由于文件是同一类型的所有,也没有必要重建
整个图形。-Description
===========
This sample shows how to swap source filters in a filter graph. It will
cycle through three MP3 files, displaying the name of each file as it is played.
The MP3 files used by this sample are located in the Media directory of the
DirectX SDK ( <sdk root>\samples\Media ).
When the application begins, it renders the first audio file in the sequence
and sets a timer. Whenever the timer fires, the application removes the current
source filter and replaces it with a source filter for the next file.
Since the files are all of the same type, there is no need to rebuild the
entire graph.
Platform: |
Size: 19456 |
Author: wengjinshu |
Hits: