Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Grant Schenck (schenckg_at_optonline.net)
Date: 11/10/04

  • Next message: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"
    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
    > >
    >
    

  • Next message: ianLOSEatTHEaltispartnersCAPS.com: "Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)"

    Relevant Pages

    • Re: TAPI/SAPI Integration (or: the WAVE/OUT question... again)
      ... Grant Schenck wrote: ... > Bottom line is that once you use TAPI to get the wave out ID, ... > the same as if you were playing to the PC's sound card. ... > wave play code that you could search on goggle for. ...
      (microsoft.public.win32.programmer.tapi)
    • Re: Choose wave output of modem for playing a wav-file
      ... Grant Schenck schreef: ... lineGetID which you then use to retrieve the wave in and wave out ... I already know how to play a wav file but know I would like to connect ...
      (microsoft.public.win32.programmer.tapi)
    • Re: Stargate/Defender- any helpful gameplay tips?
      ... The best bet is to play Defender, not Stargate. ... Default settings don't allow warping past wave 10. ...
      (rec.games.video.arcade.collecting)
    • Re: waveOutOpen with CALLBACK_EVENT example?
      ... I plan to use independent threads for playing ... > But I was suggested to use CALLBACK_EVENT as the best way to play wave data. ... with 1 physical device. ...
      (microsoft.public.win32.programmer.mmedia)
    • Re: HELP!!! read/write WAV files for pitch shifting
      ... dopitchshifting, then play thepitch-shiftedwavfile. ... already found information on STFT but it requires .wavbeing read intointegerarrays, then FT it into another array. ... codes or examples on reading, writing and playing wave files fromintegerarrays? ...
      (comp.dsp)