Skip to content

Commit

Permalink
Moar grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
regzo2 committed May 17, 2023
1 parent d30bc14 commit 274762b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions PicoStreamingAssistantFTUDP/Pico4SAFTExtTrackingModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private bool StreamerValidity()
{
if (Process.GetProcessesByName("Streaming Assistant").Length is 0)
{
Logger.LogError("Cannot find process \"Streaming Assistant\". Please run the Streaming Assistant before VRCFT.");
Logger.LogError("\"Streaming Assistant\" process was not found. Please run the Streaming Assistant before VRCFaceTracking.");
return false;
}
return true;
Expand All @@ -42,7 +42,7 @@ public override (bool eyeSuccess, bool expressionSuccess) Initialize(bool eyeAva
int retry = 0;
if (!StreamerValidity())
return (false, false);
Logger.LogInformation("Initializing Pico Streaming Assistant data stream.");
Logger.LogInformation("Initializing Streaming Assistant data stream.");
ReInitialize:
try
{
Expand All @@ -57,7 +57,7 @@ public override (bool eyeSuccess, bool expressionSuccess) Initialize(bool eyeAva
Logger.LogDebug("Initialization Timeout: {timeout}ms", udpClient.Client.ReceiveTimeout);
Logger.LogDebug("Client established: attempting to receive PxrFTInfo.");

Logger.LogInformation("Waiting data from Streaming Assistant.");
Logger.LogInformation("Waiting for Streaming Assistant data stream.");
unsafe
{
fixed (PxrFTInfo* pData = &data)
Expand Down Expand Up @@ -216,7 +216,7 @@ public override void Update()
{
if (Status != ModuleState.Active)
{
Thread.Sleep(10);
Thread.Sleep(100);
return;
}

Expand All @@ -240,7 +240,7 @@ public override void Update()
catch (SocketException ex) when (ex.ErrorCode is 10060)
{
if (!StreamerValidity())
Logger.LogInformation("Streaming Assistant is currently not running. Please ensure the Streaming Assistant is running to send tracking data.");
Logger.LogInformation("Streaming Assistant is currently not running. Please ensure Streaming Assistant is running to send tracking data.");
Logger.LogDebug("Data was not sent within the timeout. {msg}", ex.Message);
}
catch (Exception ex)
Expand Down

0 comments on commit 274762b

Please sign in to comment.