views:

43

answers:

1

Hi,

In order to intercept external audio that comes in I tried

InPort ="3756"

call.set_OutputDevice(TCallIoDeviceType.callIoDeviceTypePort, InPort.ToString());

// initialized inServer
inServer = new TcpServer(InPort);

inServer.DataReceived += inServer_DataReceived;

// In dataReceived event I tried playing a wav file 
args.Buffer = File.ReadAllBytes("C:\\check.wav");
inStream.Write(args.Buffer, 0, args.Buffer.Length);

Neither able to hear check.wav nor someway manipulate the incoming audio.

Any help is appreciated.

A: 

Hey John

IIRIC, skype requires a very specific wav file format and so just trying "standard" wav files will not work - sorry, I am not a sound expert :(

I remember finding a good explanation in this forum post, but unfortunately it looks like the interesting link is broken.

Anyway, since I need this information I'll keep trying to find it elsewhere.

Best

Vagaus
Vagaus
Hi Vagaus,Thanks for your response. 16 bit 16kzkHz mono plays fine. I am still not able to intercept incoming audio of Skype :)
Holly
File: WAV PCMSockets: raw PCM samples16 KHz mono, 16 bit As you know, it is suggested by a skype moderator.
Holly