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
↧