Michael Chinen
2011-01-09 13:43:43 UTC
Hi,
This appears to be a limitation of the Wave API only having 32 chars
in a struct for the device name.
So when waveInGetDevCaps (pa_win_wmme.c:703 in
InitializeInputDeviceInfo) gets called it truncates strings that are
longer. Most of the devices on my system are truncated due to the way
pairs of channels are also indicated in the device name.
This here appears to describe a workaround that involves using
DirectSound, (but has a broken link.)
However, I don't know if this is the right way to go about it from
within portaudio (mixing dsound into PA's mme files.)
http://stackoverflow.com/questions/1449162/get-the-full-name-of-a-wavein-device
Is there another workaround that someone would suggest, or does a
patch already exist for this?
Thanks
Michael
This appears to be a limitation of the Wave API only having 32 chars
in a struct for the device name.
So when waveInGetDevCaps (pa_win_wmme.c:703 in
InitializeInputDeviceInfo) gets called it truncates strings that are
longer. Most of the devices on my system are truncated due to the way
pairs of channels are also indicated in the device name.
This here appears to describe a workaround that involves using
DirectSound, (but has a broken link.)
However, I don't know if this is the right way to go about it from
within portaudio (mixing dsound into PA's mme files.)
http://stackoverflow.com/questions/1449162/get-the-full-name-of-a-wavein-device
Is there another workaround that someone would suggest, or does a
patch already exist for this?
Thanks
Michael