Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)
From: Grant Schenck (schenckg_at_optonline.net)
Date: 11/10/04
- Previous message: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
- In reply to: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
- Next in thread: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
- Reply: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Nov 2004 16:34:19 -0500
My wave play code is streaming based and highly specific to how I use
it so I can't easily pull part of it out as a good example.
Bottom line is that once you use TAPI to get the wave out ID, the wave
play, whether playing a single buffer or streaming, is standard logic,
the same as if you were playing to the PC's sound card.
There must be many examples on the web of streaming and non-streaming
wave play code that you could search on goggle for.
-- Grant Schenck Grant Schenck Software schenckg@optonline.net http://grantschenck.tripod.com <ianLOSEatTHEaltispartnersCAPS.com> wrote in message news:uQJ2gK2xEHA.1396@tk2msftngp13.phx.gbl... > Hello Grant, > > Thankyou for your help, I can indeed play wav files down the phone > using sndrec and TB2.exe, so it must be a problem within my code somewhere. > > I've worked out why the Open function was failing and have fixed > that, however I still cannot play anything through this device > programatically. I've taken three different tutorial's interpretations > on how to play wave files to a device and none of them work, I cannot > tell if it is my innability to write the requisite audio file playing > code or something else. I know I've been troublesome with this but could > I pressure someone for a simple inline method of outputting sound to a > device so I can determine what is wrong before I lose my mind. > > Ian. > > Grant Schenck wrote: > > > You should be able to use the TAPI Browser in conjunction with the MS > > Wave Player/Recorder application. > > > > What you would do is get a connected call at a TAPI line and then use > > lineGetID to retrieve the wave out ID. Then run the Wave Player and > > make the specified device the default and then try to play a wave > > file. This should get ALL of your code out of the picture and tell > > you if things are at least set up correctly. > > -- > > Grant Schenck > > Grant Schenck Software > > schenckg@optonline.net > > http://grantschenck.tripod.com > > >
- Previous message: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
- In reply to: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
- Next in thread: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
- Reply: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|