The VoipMediaEngine class is the primary class for accessing all the
capabilities of the LanScape VOIP Media Engine.
The VoipMediaEngine..::.AudioOut type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VoipMediaEngine..::.AudioOut | Initializes a new instance of the VoipMediaEngine..::.AudioOut class |
Methods
Name | Description | |
---|---|---|
CloseAudioOutChannel |
The CloseAudioOutChannel API procedure is called to close a previously opened audio output channel.
| |
GetAudioOutSampleBlockSize |
The GetAudioOutSampleBlockSize API procedure is used by application software to determine the sample block size
the audio output requires.
| |
GetNumAudioOutBuffers |
Application software calls the GetNumAudioOutBuffers API procedure to determine how many audio output
line buffers are available for use.
| |
OpenAudioOutChannel |
The OpenAudioOutChannel API procedure is the first API procedure that must be called before attempting to
stream user defined audio data to the telephony engine for playback.
Audio outputs can only be opened once. That is, calling this API procedure more than one time per audio output will result in an error. | |
SetAudioOutBufferEvent |
The SetAudioOutBufferEvent API procedure allows the telephony engine to signal the application software when
audio output buffers are available.
| |
SetAudioOutDataType |
The SetAudioOutDataType API procedure allows the user application to specify the format and rate of the
data it will send to the telephony engine's audio output.
| |
StopAudioOutput |
The StopAudioOutput API procedure should be called by application software to immediately stop the streaming
of audio data to the audio output. This includes any audio data that may be queued up internally.
| |
WaitForAudioOutComplete |
Call the WaitForAudioOutComplete API procedure before closing the audio output channel. Doing so will
ensure that all queued audio sample output data gets played. If an audio output channel is closed and
there is queued up audio output data waiting to be played, the queued up data will be discarded.
| |
WriteAudioOutData |
The WriteAudioOutData API procedure should be called by application software to stream user defined digital
audio data to an audio output.
Application software can stream audio data to an audio output at any time so as long as the output has been prepared properly using the other audio output API procedures. |
Fields
Name | Description | |
---|---|---|
AudioOutLine |
The audio output line index.
Do not modify this value directly.
| |
hAudioOut |
A native handle to the audio output.
Do not modify this value directly.
| |
MediaEngine |
The media enigne instance.
Do not modify this value directly.
| |
pManagedAudioOutInstance |
A pseudo pointer to this managed wrapper.
Do not modify this value directly.
|