• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 801
  • Last Modified:

Voice Modem & Wave Audio

Is it possible to treat a voice modem as another wave audio device so that we can use WAVE API to record and playback the voice coming from the phone line?
Or is there a separate API for it?
Is there any sample programs available ?  

Thanx in anticipation.
0
rajasun
Asked:
rajasun
1 Solution
 
broccoliCommented:
Yes, First, you need to install Unimodem/V available at microsoft  (If the install is successful you will see at least two new AUDIO devices in Multimedia on the Audio folder under win95)

You can use the TelephoneAPI (TAPI) (lineGetID() function) to hand off a deviceID to the MMAPI so that the waveOutWrite() function treats the ID'd line as an audio device, however it is not a trivial task.  ie be prepared to suffer.

There may be drivers that allow the audio device to output without the use of TAPI (in fact there must be).  One I have seen that MIGHT do the job is written for DELPHI and is archived all over the place as TMSGVOC1.ZIP.  I have not used it however.

See the TAPI FAQ at:
      http://members.tripod.com/~tapifaq/index.html#FAQ 

    Sample code (for sending a wave to a modem line under windows) can be found at:
      ftp://ftp.microsoft.com/developr/MSJ/ 
    look for the August 96 code.  

    (You can also order the related magazine article at)
      http://www.microsoft.com/msj/backissuestop.htm 

    There is also a UseNet group called:
                     microsoft.public.win32.programmer.tapi
and another    microsoft.public.win32.programmer.mmedi
0
 
rajasunAuthor Commented:
Adjusted points to 40
0

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now