[Live-devel] Capturing audio from microphone
Ross Finlayson
finlayson at live.com
Mon Oct 11 04:20:19 PDT 2004
>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/>
More information about the live-devel
mailing list