Facepunch.Steamworks Wiki

Revision Difference

SteamUser.DecompressVoice#519400

<member type="method" namespace="Steamworks" parent="SteamUser" name="DecompressVoice" static="true"> <args> <arg name="input" type="System.IO.Stream"></arg> <arg name="length" type="int"></arg> <arg name="output" type="System.IO.Stream"></arg> </args> <return type="int"></return> <summary>Decodes the compressed voice data returned by GetVoice. The output data is raw single-channel 16-bit PCM audio.The decoder supports any sample rate from 11025 to 48000.</summary> </member> <member type="method" namespace="Steamworks" parent="SteamUser" name="DecompressVoice" static="true"> <args> <arg name="from" type="byte[]"></arg> <arg name="output" type="System.IO.Stream"></arg> </args> <return type="int"></return> </member>