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:
parent
bd86eb667e
commit
f2df19f4fe
1 changed files with 4 additions and 1 deletions
|
|
@ -173,7 +173,10 @@ public:
|
|||
int64_t *timeNanoseconds) override {
|
||||
int64_t childPosition = 0;
|
||||
Result result = mChildStream->getTimestamp(clockId, &childPosition, timeNanoseconds);
|
||||
*framePosition = childPosition * mRateScaler;
|
||||
// It is OK if framePosition is null.
|
||||
if (framePosition) {
|
||||
*framePosition = childPosition * mRateScaler;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue