Skip to content

Commit

Permalink
Update REV_CAPI.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmanwoods authored Dec 17, 2022
1 parent 0cdf1fe commit c4762e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ReviveXR/REV_CAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,11 @@ OVR_PUBLIC_FUNCTION(ovrTouchHapticsDesc) ovr_GetTouchHapticsDesc(ovrSession sess
desc.SampleRateHz = 0;
else
desc.SampleRateHz = (int)(1000000000i64 / (*session->CurrentFrame).predictedDisplayPeriod);
desc.SampleSizeInBytes = sizeof(uint8_t);
desc.SubmitMaxSamples = OVR_HAPTICS_BUFFER_SAMPLES_MAX;
desc.SubmitMinSamples = 1;
desc.SubmitOptimalSamples = 20;
desc.QueueMinSizeToAvoidStarvation = 5;
desc.SampleSizeInBytes = sizeof(uint8_t);
desc.SubmitMaxSamples = OVR_HAPTICS_BUFFER_SAMPLES_MAX;
desc.SubmitMinSamples = 1;
desc.SubmitOptimalSamples = 20;
desc.QueueMinSizeToAvoidStarvation = 5;
}
return desc;
}
Expand Down

0 comments on commit c4762e9

Please sign in to comment.