[Live-devel] Capturing audio from microphone

Ross Finlayson finlayson at live.com
Fri Oct 8 10:59:53 PDT 2004


>I a m trying to capture live audio from microphone and try to send on the 
>network using live.
>
>I still have linking problem using WindowsAudioInputDevice.

What specific "linking problems" did you encounter?

If you build "WindowsAudioInputDevice" correctly (from the ".mak" file - 
the same way you build the libraries in the other directories), you should 
end up with two libraries:
         libWindowsAudioInputDevice_noMixer.lib
         libWindowsAudioInputDevice_mixer.lib
You then choose one (not both!) of these libraries to link with.  Then, in 
your application, call
         AudioInputDevice::createNew()
to create an audio input device.  (Setting the "inputPortNumber" parameter 
to 0 will usually get you the microphone; you can also run the 
"showAudioInputPorts_mixer" or "showAudioInputPort_nomixer" applications to 
confirm this.)


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



More information about the live-devel mailing list