联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Playing Wave Files Directly From The Res - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    The CDirectSound class makes it easy to play a WAVE file directly from the resource (without copying it into a temporary file) via Microsoft's DirectX component DirectSound. The class is designed to play small sounds, that can be placed completely into memory.   One can use the class to play WAVE files, too. In this case you have to load the entire file into memory and to pass the pointer to the beginning of the buffer to the Create() method. To use this class you need at least DirectX version 3.


    用资源里的directsound直接播放wave文件

    cdirectsound类使由resource里的microsoft's directx组件directsound来播放wave文件变的很简单。这个类用来播放可以完全放在缓存里的小声音文件。也可以用它来播放wave文件。这时候你需要把整个文件下栽到内存并且将指针知道缓冲头部的create()方法。
    你至少要在directx ersion3里才可以使用这个类。
    来源: http://www.codeguru.com/multimedia/DSound.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    DSound  1.0  2004-04-19 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/multimedia/DSound_src.zip

      » 合 作 伙 伴