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

New Post: WasapiLoopback to 16bit?

$
0
0
then I'd just use the technique I mentioned above then. You can speed it up using WaveBuffer if you know how. Bind a WaveBuffer to the recorded byte array and you can access each sample individually. Then convert them all to shorts my multiplying by Int16.MaxValue and writing into a new buffer to be sent over UDP. WaveBuffer can help you again there letting you write shorts into a byte array

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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