waveout ini display error ,can't find a supporte foramt
zhangxinghua01 opened this issue · comments
zhangxinghua01 commented
waveOut = new WasapiOut((MMDevice)cbWRender.SelectedValue,
AudioClientShareMode.Exclusive,
false,
200);
SignalGenerator sg = new SignalGenerator();
sg .Frequency = Signal_Freq;
sg .Type = SignalGeneratorType.Sin;
waveOut.Init(sg );
Mark Heath commented
for wasapi exclusive mode I think you'll need stereo IEEE floating point. Shared mode will do format conversion for you