Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new commits #1

Merged
merged 4 commits into from
Dec 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update REV_CAPI.cpp
  • Loading branch information
ahmanwoods committed Dec 17, 2022
commit c4762e9d099c10e04499008863e9a42985859891
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