This project has moved. For the latest updates, please go here.

Change MaxProductNameLength from 32 to 64


It seems to bee
NAudio.Wave.WaveInCapabilities.MaxProductNameLength = 32;
is not long enough in some situations.

If you want to display this to the user then it looks a bit strange.
thanks for reading this.



markheath wrote Feb 9 at 10:56 PM

It is not possible to change this value. It's part of the Windows SDK. It's a very frustrating and long-standing issue with the old waveIn APIs. There are various workarounds to try to get hold of the non-truncated device names, but nothing that always works.

SebastianDotNet wrote Feb 10 at 5:04 AM

Thanks for the explanation :)