Initial checkin

Initial checkin of Quest App Launcher
This commit is contained in:
tverona1
2019-07-16 23:46:19 -07:00
parent 6b98242a9b
commit fe3f38ee64
933 changed files with 105478 additions and 1 deletions
@@ -0,0 +1,27 @@
using UnityEngine;
using System.Collections;
using System;
namespace Oculus.Platform
{
public class VoipPCMSourceNative : IVoipPCMSource
{
ulong senderID;
public int GetPCM(float[] dest, int length)
{
return (int)CAPI.ovr_Voip_GetPCMFloat(senderID, dest, (UIntPtr)length);
}
public void SetSenderID(ulong senderID)
{
this.senderID = senderID;
}
public int PeekSizeElements() {
return (int)CAPI.ovr_Voip_GetPCMSize(senderID);
}
public void Update() { }
}
}