public UserDecompressVoiceResult DecompressVoice(System.IntPtr compressed, uint compressedSize, System.IntPtr destBuffer, uint destBufferSize, uint desiredSampleRate)
        {
            UserDecompressVoiceResult result = new UserDecompressVoiceResult();

            result.Result = DecompressVoice(compressed, compressedSize, destBuffer, destBufferSize, out result.BytesWritten, desiredSampleRate);

            return(result);
        }
        public UserDecompressVoiceResult DecompressVoice(System.IntPtr compressed, uint compressedSize, System.IntPtr destBuffer, uint destBufferSize, uint desiredSampleRate)
        {
            UserDecompressVoiceResult result = new UserDecompressVoiceResult();

            result.Result = DecompressVoice(compressed, compressedSize, destBuffer, destBufferSize, out result.BytesWritten, desiredSampleRate);

            return result;
        }