I use the Dialogic D/41D card, i want to record my voice through the telephone but failed with the error message : "wave/in error in waveInOpen(), errorcode=32('The specified format is not supported cannot be translated. Wave format: Tag=1, 8000Hz,16bits, 1 Channels

The default record format is PCM 8KHz 16bits and it will not support in some older Dialogic cards such as D/4D, D/2D, D/41H . You need to set the record format to "CCITT u-Law 8.000 kHz, 8bits, Mono"

How to set the record format
1. Configure it in the "Record format" dialog in design time.
ITAPILine.RecordFormat.FormatID = MULAW_8KHz_8BITS_MONO