Table of Contents |
---|
What is 'SimplePhone'?
SimplePhone is a Visual Basic 2005 Diva Component API sample that makes or receives voice calls through a Diva hardware adapter (analog, basic rate ISDN or E1/T1) or through a Diva virtual adapter such as Diva SoftIP - SIP.
SimplePhone uses the APSoundDevice Audio Provider DLL (provided here as both a Visual a Visual C project:
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
...
It shows how to create an Audio Provider using the Diva C/C++ API
It shows how to access an Audio Provider from a program that uses the Diva Component API
It shows how to create an application that uses the Diva Component API for the top-level GUI interface while the Diva C/C++ API is used for timing-critical low-level streaming operations.
Audio Providers
Using the APSoundDevice sample as a basis, you can write an Audio Provider to interface to other media hardware devices or to 3rd-party software modules such as text to speech (TTS) and automated speech recognition (ASR) engines.
...
This approach is also appropriate for other applications that process voice or fax streams in real-time.
Using SimplePhone
If you have not already done so, please download and install the Diva SDK
Download the SimplePhone executablesthe SimplePhone executables (
). Unzip the files and ensure that SimplePhone.exe, APSoundDevice.dll and DIVASDKLib.dll are all in the same directory.View file name 2780_SimplePhone.exe.zip Run SimplePhone.exe.
Common problems
"Load APSoundDevice failed - Check SDK version" - You haven't installed the latest version of the Diva SDK.
"Load APSoundDevice failed - check DLL is present" - The AudioProvider.dll is not in the same directory as SimplePhone.exe
"Could not load file or assembly 'Interop.DIVASDKLib" - The DIVASDKLib.dll is not in the same directory as SimplePhone.exe
"SDK initialisation failed - re-install SDK" - The Diva SDK is not installed
"No Diva hardware or software devices found" - No Diva hardware or virtual adapters found
Downloads
(zip)View file name 2780_SimplePhone.exe.zip
(text)View file name 2780_SimplePhone.Form1.vb.txt
(zip)View file name 2780_SimplePhoneProject.zip
(zip)View file name 2780_APSoundDeviceSample.zip
...