1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Android: Integrated Oboe fix from google/oboe@893feef

This commit is contained in:
ed 2021-01-27 14:10:14 +00:00
parent bd86eb667e
commit f2df19f4fe

View file

@ -173,7 +173,10 @@ public:
int64_t *timeNanoseconds) override {
int64_t childPosition = 0;
Result result = mChildStream->getTimestamp(clockId, &childPosition, timeNanoseconds);
// It is OK if framePosition is null.
if (framePosition) {
*framePosition = childPosition * mRateScaler;
}
return result;
}