acmwavein.txt

来自「P2P即时通讯源码(DELPHI编写)」· 文本 代码 · 共 22 行

TXT
22
字号
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 sampling

Events:

OnData(data:PChar;bytesrecorded:integer); - this event
is called when buffer is full. Data are audio data and 
bytesrecorded is length of audio data.
 


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?