TAPIEx ActiveX Control v3.6 |
The PlayMemoryBuffer method play the wave file that in system memory (IMemoryBuffer).
Function PlayMemoryBuffer( MemoryBuffer As IMemoryBuffer) As Boolean
' VB code sample Private Sub Form_Load() Set g_membuffers = New MemoryBuffers g_membuffers.RootDirectory = "../../wave_pcm/" g_membuffers.AddNew "Greeting", "Greeting.wav" g_membuffers.AddNew "Menu", "Menu.wav" end sub Sub OnConnected() m_Call.PlayMemoryBuffer g_membuffers("Greeting") m_Call.PlayMemoryBuffer g_membuffers("Menu" end sub