I am trying to read sound from a microphone but I
can not make it work.

The problem might be that I am using the device.
According to waveInGetNumDevs(), I have two devices.
My problem is that I do not know what devices they
are, I do not know how to find their names and
their device ids.

In the documentation, they give the device to
waveInOpen as WAVE_MAPPER which seems to work as
some sort of default device. I can not make this
work.

(I hate the Visual Studio Help. When I search
on DeviceId, I only get fax references. I suppose
they are out there somewhere but I could not find
any answers to my questions.)

Thanks for any answer
Anders Floderus

--
m a i l : anders d o t floderus a t swipnet d o t se

Re: Finding waveIn devices by GuitarBill

GuitarBill
Sun Jun 20 12:31:03 CDT 2004

Sorry, perhaps not the answer you want, but have you looked at
DirectSoundCapture?


"ANDERS FLODERUS" <nospam@example.com> wrote in message
news:7KjBc.53120$zm5.27710@nntpserver.swip.net...
> I am trying to read sound from a microphone but I
> can not make it work.
>
> The problem might be that I am using the device.
> According to waveInGetNumDevs(), I have two devices.
> My problem is that I do not know what devices they
> are, I do not know how to find their names and
> their device ids.
>
> In the documentation, they give the device to
> waveInOpen as WAVE_MAPPER which seems to work as
> some sort of default device. I can not make this
> work.
>
> (I hate the Visual Studio Help. When I search
> on DeviceId, I only get fax references. I suppose
> they are out there somewhere but I could not find
> any answers to my questions.)
>
> Thanks for any answer
> Anders Floderus
>
> --
> m a i l : anders d o t floderus a t swipnet d o t se
>
>



Re: Finding waveIn devices by Alexander

Alexander
Sun Jun 20 12:34:05 CDT 2004

Consider this (see the documentation):

"If the value specified by the uDeviceID parameter is a device identifier,
it can vary from zero to one less than the number of devices present. "

See waveInGetDevCaps and waveInOpen documentation.

"ANDERS FLODERUS" <nospam@example.com> wrote in message
news:7KjBc.53120$zm5.27710@nntpserver.swip.net...
> I am trying to read sound from a microphone but I
> can not make it work.
>
> The problem might be that I am using the device.
> According to waveInGetNumDevs(), I have two devices.
> My problem is that I do not know what devices they
> are, I do not know how to find their names and
> their device ids.
>
> In the documentation, they give the device to
> waveInOpen as WAVE_MAPPER which seems to work as
> some sort of default device. I can not make this
> work.
>
> (I hate the Visual Studio Help. When I search
> on DeviceId, I only get fax references. I suppose
> they are out there somewhere but I could not find
> any answers to my questions.)
>
> Thanks for any answer
> Anders Floderus
>
> --
> m a i l : anders d o t floderus a t swipnet d o t se
>
>



Re: Finding waveIn devices by William

William
Sun Jun 20 16:44:10 CDT 2004

"ANDERS FLODERUS" <nospam@example.com> wrote in message
news:7KjBc.53120$zm5.27710@nntpserver.swip.net...
> The problem might be that I am using the device.
> According to waveInGetNumDevs(), I have two devices.
> My problem is that I do not know what devices they
> are, I do not know how to find their names and
> their device ids.

A variant of this question comes up often enough in the telephony group that
I have posted a litle widget here

http://www.IVRForBeginners.com/Downloads/VC/waveenum.zip

that can enumerate all of the waveform devices on a box, list their device
ids and names and enumerate all of the formats that they support without
help from the Audio Compression Manager.

Regards,
Will