Encode a slice to a WAV in memory. The returned slice MUST be freed with freeEncodedAudio.
null in case of error.
See Implementation
Encode a slice to a WAV in memory. The returned slice MUST be freed with freeEncodedAudio.