Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: WasapiLoopback to 16bit?

$
0
0
there isn't a one-liner as it really depends what you are doing next with the audio (e.g. writing to file, putting into a buffered wave provider). The manual way is use BitConverter.ToSingle on every four bytes, and then multiply by Int16.MaxValue to make it into an Int16.

Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>