Links

Voice.Client

Like what your seeing?

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!

Introduction

using SteamVoice = HeathenEngineering.SteamworksIntegration.API.Voice.Client;
public static class Voice.Client

What can it do?

capture, compress and decompress voice data.

How To

Optimal Sample Rate

var rate = API.Voice.Client.OptimalSampleRate;

Decompress Voice

API.Voice.Client.DecompressVoice(data, buffer, out size, rate);

Get Available Voice

API.Voice.Client.GetAvailableVoice(out compressed);

Get Voice

API.Voice.Client.GetVoice(buffer, out written);

Start Recording

API.Voice.Client.StartRecording();

Stop Recording

API.Voice.Client.StopRecording();