TAPIEx ActiveX Control v3.6

WriteBuffer

The WriteBuffer method outputs the waveform-audio data to the wave/out device in the direct wave/out mode.

Function WriteBuffer(Buffer as Variant
) As Boolean

Parameters

Buffer
waveform-audio data (array of bytes) that want to output to device. The wave format is PCM 16bits Mono.

Return Values

If the method succeeds, the return TRUE, otherwise return FALSE.

Remarks

The OnWaveOutBuffer will be fired when the buffer has been played. Users need to use WriteBuffer method write another buffer to the device.

See Also

OnWaveOutBuffer