Gets the latest voice data from the microphone. Compressed data is an arbitrary format, and is meant to be handed back to
DecompressVoice() for playback later as a binary blob. Uncompressed data is 16-bit, signed integer, 11025Hz PCM format.
Please note that the uncompressed data is not the raw feed from the microphone: data may only be available if audible
levels of speech are detected, and may have passed through denoising filters, etc.
This function should be called as often as possible once recording has started; once per frame at least.
nBytesWritten is set to the number of bytes written to pDestBuffer.
nUncompressedBytesWritten is set to the number of bytes written to pUncompressedDestBuffer.
You must grab both compressed and uncompressed here at the same time, if you want both.
Matching data that is not read during this call will be thrown away.
GetAvailableVoice() can be used to determine how much data is actually available.
If you're upgrading from an older Steamworks API, you'll want to pass in 11025 to nUncompressedVoiceDesiredSampleRate