๐ตDecompress Voice
Last updated
Last updated
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Decodes the compressed voice data returned by Get Voice. The output data is raw single-channel 16-bit PCM audio. The decoder supports any sample rate from 11025 to 48000. See Get Voice Optimal Sample Rate for more information.
The array of bytes that represents the compressed data
The sample rate that will be returned. This can be from 11025 to 48000, you should either use the rate that works best for your audio playback system, which likely takes the user's audio hardware into account, or you can use Get Voice Optimal Sample Rate to get the native sample rate of the Steam voice decoder.
A Decompress Voice Result value containing the results and data of the process