标  题: Re: 如何播放波形文件
发信人: itdo (doit), 信区: VisualC
发信站: BBS 水木清华站 (Fri Nov  6 15:32:56 1998) WWW-POST

【 在 SubMoon (光线很暗) 的大作中提到: 】
: 去掉header部分的纯声音数据部分文件,
: 应该如何播放?thanks

First: Open the waveOut device
        use the function waveOutOprn(...)
        pay attention to the structure WAVEFORMATEX
Second: set the audio data waveOutWrite buffer, 
        pay attention to the structure LPWAVEHDR
Third:  put the audio data into the waveOut buffer
        use the function waveOutWrite(...)
last:   close the waveOut device
        use the fuction waveOutClose(..)
     

--

--
☆ 来源:.哈工大紫丁香 bbs.hit.edu.cn.[FROM: yazhou.bbs@bbs.net.t]
※ 修改:.fzx 于 Aug  9 16:56:01 修改本文.[FROM: heart.hit.edu.cn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:4.616毫秒