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.
rajasunAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
broccoliConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.