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

AudioPlayHead: Set playing/recording/looping flags in CurrentPositionInfo

This commit is contained in:
reuk 2022-06-27 16:11:40 +01:00
parent f3ca634049
commit bcad7f1456
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -552,6 +552,10 @@ public:
if (const auto timeInSamples = pos->getTimeInSamples())
result.timeInSamples = *timeInSamples;
result.isPlaying = pos->getIsPlaying();
result.isRecording = pos->getIsRecording();
result.isLooping = pos->getIsLooping();
return true;
}