Facepunch.Steamworks Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 4
Generate Html 0
SaveChanges (1) 16
Render Body 0
Render Sidebar 1