struct IVoiceContext { };
INetwork.h
An IVoiceContext provides interface for network voice data manipulation. UNIQUE_IFACE Commented out until de-virtualiser can cope with #ifdef
virtual void AddRef() = 0;
virtual IVoiceGroup* CreateVoiceGroup() = 0;
Creates new voice group.
virtual bool GetDataFor(EntityId id, uint32 numSamples, int16 * samples) = 0;
Retrieves voice packet from network system.
Called directly from the network thread to reduce voice transmission latency.
virtual void GetMemoryStatistics(ICrySizer* pSizer) = 0;
virtual void InvalidateRoutingTable() = 0;
Forces recreation of routing table (when players change voice group, for instance).
virtual bool IsEnabled() = 0;
virtual void PauseDecodingFor(EntityId id, bool pause) = 0;
virtual void Release() = 0;
virtual void SetVoiceDataReader(EntityId id, IVoiceDataReader*) = 0;
Sets voice data reader for entity, voice context requests it when it needs new data.