Interface ISteamVoice
Interface to allow for matching voice settings with the SteamManager and receiving new audio in case other custom methods wish to be created.
Namespace: KaijuSolutions.SteamMultiplayerEngine
Syntax
public interface ISteamVoice
Methods
ConfigureVoice()
Match this listener with the voice settings of the SteamManager.
Declaration
void ConfigureVoice()
ReceiveAudio(Single[], UInt32)
Receive audio from the SteamManager.
Declaration
void ReceiveAudio(float[] sound, uint length)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | sound | The received audio which has been uncompressed from a single-channel 16-bit PCM audio. |
System.UInt32 | length | The length of the received audio. The length of the array may be greater than this, and the audio data is from the start of the array to this. |