Async

所属分类:DirextX编程
开发工具:Visual C++
文件大小:13567KB
下载次数:117
上传日期:2009-07-27 13:40:57
上 传 者space006
说明:  拉模式filter directshow示例程序 详述了一个拉模式的source filter
(Pull mode filter directshow sample procedures detailed model of a pull source filter)

文件列表:
Async\1\1.dsp (4166, 2009-07-18)
Async\1\1.plg (236, 2009-07-18)
Async\async.dsw (1192, 2009-07-18)
Async\async.ncb (82944, 2009-07-18)
Async\async.opt (64512, 2009-07-18)
Async\async.sln (3093, 2002-11-12)
Async\Base\asynbase.dsp (5459, 2002-11-12)
Async\Base\asynbase.dsw (539, 2002-11-12)
Async\Base\asynbase.plg (258, 2009-07-18)
Async\Base\asynbase.sln (1338, 2002-11-12)
Async\Base\asynbase.vcproj (6427, 2002-11-12)
Async\Base\asyncio.cpp (17418, 2002-11-12)
Async\Base\asyncrdr.cpp (9996, 2002-11-12)
Async\Base\Debug\asynbase.lib (126958, 2009-07-18)
Async\Base\Debug\asynbase.pch (5791556, 2009-07-18)
Async\Base\Debug\asyncio.obj (57095, 2009-07-18)
Async\Base\Debug\asyncrdr.obj (60080, 2009-07-18)
Async\Base\Debug\vc60.idb (238592, 2009-07-18)
Async\Base\Debug\vc60.pdb (258048, 2009-07-18)
Async\Base\Debug_Unicode\asynbase.lib (128704, 2009-07-18)
Async\Base\Debug_Unicode\asynbase.pch (5795680, 2009-07-18)
Async\Base\Debug_Unicode\asyncio.obj (57842, 2009-07-18)
Async\Base\Debug_Unicode\asyncrdr.obj (60484, 2009-07-18)
Async\Base\Debug_Unicode\vc60.idb (238592, 2009-07-18)
Async\Base\Debug_Unicode\vc60.pdb (258048, 2009-07-18)
Async\Base\Release\asynbase.lib (43964, 2009-07-18)
Async\Base\Release\asynbase.pch (5772416, 2009-07-18)
Async\Base\Release\asyncio.obj (14589, 2009-07-18)
Async\Base\Release\asyncrdr.obj (21979, 2009-07-18)
Async\Base\Release\vc60.idb (50176, 2009-07-18)
Async\Base\Release_Unicode\asynbase.lib (43980, 2009-07-18)
Async\Base\Release_Unicode\asynbase.pch (5784732, 2009-07-18)
Async\Base\Release_Unicode\asyncio.obj (14589, 2009-07-18)
Async\Base\Release_Unicode\asyncrdr.obj (21979, 2009-07-18)
Async\Base\Release_Unicode\vc60.idb (50176, 2009-07-18)
Async\Filter\asyncflt.cpp (4045, 2002-11-12)
Async\Filter\asyncflt.def (495, 2002-11-12)
Async\Filter\asyncflt.dsp (9433, 2002-11-12)
Async\Filter\asyncflt.dsw (537, 2002-11-12)
Async\Filter\asyncflt.h (6049, 2002-11-12)
... ...

//----------------------------------------------------------------------------- // Name: ASYNC filter // // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- Description =========== This sample set contains three separate projects that work together. Base - Base library with I/O functionality Filter - Source for Async Filter (which uses the Base library) Memfile - Sample application that uses the async filter Since these projects build on each other, you have two options when building an individual project: 1) Use the Async.DSW Visual C++ workspace in the Async directory. This workspace provides dependency information, such that building one project will also build any project on which it depends. For example, if you build Memfile, it will also build the Base and Filter directories if they are out of date or have not yet been built. 2) Build each project individually by opening its Visual C++ workspace. To prevent linker errors, build the projects in the following order: Base (with asynbase.dsw) Filter (with asyncflt.dsw) MemFile (with memfile.dsw) User's Guide ============ This sample includes a small command-line application, Memfile.exe, that demonstrates the filter. The command-line arguments specify a media file and a bit rate, in kilobytes per second. The application reads the file into memory at the specified rate and plays the file. To do so, it creates an instance of the filter, adds the filter to the filter graph, and renders the filter's output pin. Usage ===== Memfile Filename BitRate The Async sample filter does not support AVI files, because it cannot connect to the AVI Splitter filter. The Async filter's output pin proposes MEDIATYPE_Stream and MEDIASUBTYPE_NULL for the media type. The input pin on the AVI Splitter filter does not accept MEDIASUBTYPE_NULL, and does not propose any types of its own. Therefore, the pin connection fails. The Async filter could be enhanced to offer MEDIASUBTYPE_Avi when appropriate. For example, it could examine the file format, or use the file extension.

近期下载者

相关文件


收藏者