Facepunch.Steamworks Wiki

Steamworks.SteamUser.DecompressVoice

Steamworks.SteamUser.DecompressVoice

Syntax

static int DecompressVoice( System.IO.Stream input, int length, System.IO.Stream output )

Description

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.

Arguments

System.IO.Stream input
int length
System.IO.Stream output

Returns

int

Syntax

static int DecompressVoice( byte[] from, System.IO.Stream output )

Arguments

byte[] from
System.IO.Stream output

Returns

int

Special Pages


Wikis

?

Render Time: 43ms

DB GetPage 33
Generate Html 0
SaveChanges (1) 6
Render Body 0
Render Sidebar 1