Question

i want to print debug and see what is contained in this byte.

code is here

SoundEffect sound = new SoundEffect(stream.ToArray(), microphone.SampleRate, AudioChannels.Mono);
Était-ce utile?

La solution

To display the data you could use the BitConverter class.

string s = BitConverter.ToString(stream);
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top