Voice.Client

Like what your seeing?

Consider supporting us as a GitHub Sponsor and get instant access to all our Unity 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.
Voice Recorder
Heathen KB
Voice Stream
Heathen KB

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();