E
eadwards
Unregistered / Unconfirmed
GUEST, unregistred user!
我们要用bcb做一个有关网络语音传输的软件,我是负责对声音的采集和播放的,但是
我没有用过bcb,对下面的函数没有概念,有没有人可以帮我?
#include "mmsystem.h"
放音
waveOutPrepareHeader(m_hWaveOut, pWaveHdr, sizeof(WAVEHDR));
waveOutWrite(m_hWaveOut, pWaveHdr, sizeof(WAVEHDR));
录音
waveInPrepareHeader(m_hWaveIn, pWaveHdr, sizeof(WAVEHDR))
waveInAddBuffer(m_hWaveIn, pWaveHdr, sizeof(WAVEHDR))
我没有用过bcb,对下面的函数没有概念,有没有人可以帮我?
#include "mmsystem.h"
放音
waveOutPrepareHeader(m_hWaveOut, pWaveHdr, sizeof(WAVEHDR));
waveOutWrite(m_hWaveOut, pWaveHdr, sizeof(WAVEHDR));
录音
waveInPrepareHeader(m_hWaveIn, pWaveHdr, sizeof(WAVEHDR))
waveInAddBuffer(m_hWaveIn, pWaveHdr, sizeof(WAVEHDR))