你有这些控件吗?
邮给我控件,或给我URL,我来研究一下行吗?
邮给我控件,或给我URL,我来研究一下行吗?
解决方案 »
- 谁知道<广州军软科技有限公司 >怎么样?叫小弟去应聘!!!!!!!!!!!!!!!!!!!!!!!等大家回复信息
- 各位高手,怎么从ole字段中读出数据并形成硬盘文件
- 初学JAVA,JDK环境设置搞不定,救命!
- 比较菜的问题!如何动态地改变 TreeView 里面的内容?
- 急向高手请教一个双表更新的sql语句;
- 急寻:谁有Delphi6 Sp2的升级补丁的下载地址。
- 再次请教一个很简单的问题
- 请教一个关于得到一个时间段内,按星期排列的日期的算法,请近来看看哦
- 怎样控制TEDIT中输入的字符是数字?在线等待,当天结贴!
- PE Explorer v1.3的注册码,有人知道吗?
- 急救,如何在DELPHI中利用api中的bitblt打印图片?
- 如何将不规则形状区域(已知其HRGN)从一 Canvas Copy 到另一 Canvas?
正在写语音传输程序
TACMDialog component is derived from the TComponent.
TACMDialog have only one method - OpenDialog, which
open the dialog box for selecting codecs installed
in windows.
OpenDialog return pointer to twaveformatex structure
for selected format: TWAVEFORMATEX = packed record
wFormatTag: Word; { format type }
nChannels: Word; { number of channels (i.e. mono, stereo, etc.) }
nSamplesPerSec: DWORD; { sample rate }
nAvgBytesPerSec: DWORD; { for buffer estimation }
nBlockAlign: Word; { block size of data }
wBitsPerSample: Word; { number of bits per sample of mono data }
cbSize: Word; { the count in bytes of the size of }
end;TACMWaveIn - this component is used for sampling
audio (directly or through ACM codecs). This
component is derived from TWinControl.TACMWaveIn - have 2 methods:Open(format:PWaveFormatEx); format is for example
result from TACMDialog and the selected format is
used for compression. After executing this method
start component with sampling.Close(); this method close the audio samplingEvents:OnData(data:PChar;bytesrecorded:integer); - this event
is called when buffer is full. Data are audio data and
bytesrecorded is length of audio data.TACMWaveOut - is audio decompression component derived
from TWinControl.Methods:Open(format:PWaveFormatEx); - format are for example
result from TACMDialog. The format is used for audio
decompression.PlayBack(data:pointer;size:integer); - play(decompress)
audio data.Close();close playing handle
在http://www.delphi-jedi.org/有ACM的相关资料和接口以及DEMO。
在那个版里面有demo?
我就找到一个acm头文件的翻译。
请把例子给我一份,谢谢!
[email protected]