Re: How to sense mic input while getting modem input
From: Mujtaba (tomujtaba_at_hotmail.com)
Date: 03/17/04
- Next message: henghuei: "Re: MPEG"
- Previous message: Mrityunjay: "License issue of using H.263 codec"
- In reply to: Chris P. [MVP]: "Re: How to sense mic input while getting modem input"
- Next in thread: Chris P. [MVP]: "Re: How to sense mic input while getting modem input"
- Reply: Chris P. [MVP]: "Re: How to sense mic input while getting modem input"
- Messages sorted by: [ date ] [ thread ]
Date: 16 Mar 2004 23:52:28 -0800
"Chris P. [MVP]" <msdn@chrisnet.net> wrote in message news:<uTYHTuqCEHA.2576@TK2MSFTNGP11.phx.gbl>...
> Mujtaba wrote:
> > hi
> > i am working on internet telephony. i have to get the audio input from
> > modem as well as from mic. So if i am getting input from modem then
> > how to sense input comming from mic so that i can change settings.
> >
> > Could anybody plz tell me about this problem...
> > Thanx
>
> Are you capturing each one seperately? Process the sample data and apply a
> threshold detection algorithm (should be able to find on the net or
> resonably easy to create from scratch).
Thans a lot
actually i have to simulate full duplex by opening up for phone device
for wave/input and alwasy pipe that audio over to the speaker of the
sound
card. You open up your mic on your sound card and look for voice
within
each buffer of audio. If you see voice, then stop wave/in on the tapi
device, start wave/out on tapi device and play the voice until the
user
stops speaking into the mic and then flip back by stop wave/out and
start
wave/in again.
i have one buffer for recording and one for playback.I am using
DirectSound where i have same buffers for modem or mic (only i am
doing is change input device).
Now could you plz tell how to tackle this situation????
Thanx
- Next message: henghuei: "Re: MPEG"
- Previous message: Mrityunjay: "License issue of using H.263 codec"
- In reply to: Chris P. [MVP]: "Re: How to sense mic input while getting modem input"
- Next in thread: Chris P. [MVP]: "Re: How to sense mic input while getting modem input"
- Reply: Chris P. [MVP]: "Re: How to sense mic input while getting modem input"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|