using System; namespace Oculus.Platform { public class VoipPCMSourceNative : IVoipPCMSource { private ulong senderID; public int GetPCM(float[] dest, int length) { return (int)(uint)CAPI.ovr_Voip_GetPCMFloat(senderID, dest, (UIntPtr)(ulong)length); } public void SetSenderID(ulong senderID) { this.senderID = senderID; } public int PeekSizeElements() { return (int)(uint)CAPI.ovr_Voip_GetPCMSize(senderID); } public void Update() { } } }