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:
parent
f3ca634049
commit
bcad7f1456
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue