Method: OpenWaveFile
|
Function: |
Open a wave file. |
|
|
Parameters: |
fileName: The name of the wave file to open. |
|
| Description: |
Use this method to open a wave file before playing it. For details on the format of Wave files see NewWaveFile. |
|
| Dependencies: |
Current line must be set. See CurrentLineIndex, CurrentLineName |
|
| Events Raised: |
None |
|
Sample Code In Visual Basic:
'The following code shows how to open a wave file and play it after the connection of the call.
Sub VoiceAngel1_Connected(LineIndex as integer ,fIncoming as boolean)
VoiceAngel1.CurrentLineIndex = LineIndex
VoiceAngel1.OpenWaveFile "welcome.wav"
VoiceAngel1.StartPlaying 0,false
End sub