• Use native audio format settings to avoid resampling inside audio subsystem. Resampling may reduce the randomness of the audio data, thus use the native samples. Compute the correct number of bytes to gather based on the audio format.