[Live-devel] Capturing audio from microphone

Lancerica Laurent-llan1c llan1c at motorola.com
Mon Oct 11 15:48:25 PDT 2004


Thanks again for answer,

Now I can see that packets are send on the network, nevertheless I try to ear this streamed voice using quicktime player but I don't ear voice only "schratch noise"
what's the problem ??

Best Regards

Laurent

-----Original Message-----
From: live-devel-bounces at ns.live.com
[mailto:live-devel-bounces at ns.live.com]On Behalf Of Ross Finlayson
Sent: Monday, October 11, 2004 12:20 PM
To: LIVE.COM Streaming Media - development & use
Subject: RE: [Live-devel] Capturing audio from microphone



>Using the Lib (mixer) I've got this error
>audioSource nullFailed to set audio input port number to 0: Bad input port 
>index

If you run the
         "showAudioInputPorts_mixer"
or
         "showAudioInputPorts_nomixer"
application, it will list the audio port numbers for each device.

>So I try to use the lib noMixer. The test program seems to work, but with 
>the following code, the execution run create various object exits (go to 
>afterplaying play and that's all). No data are send on the network, it 
>seems that no data are captured.

>                         unsigned char bitsPerSample = 16000;

This is very wrong.  "bitsPerSample" should be just 16.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>

_______________________________________________
live-devel mailing list
live-devel at lists.live.com
http://lists.live.com/mailman/listinfo/live-devel


More information about the live-devel mailing list