|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
More descriptive frame rate type. More...
#include "juce_AudioPlayHead.h"
Public Member Functions | |
| FrameRate ()=default | |
| Creates a frame rate with a base rate of 0. | |
| FrameRate (FrameRateType type) | |
| Creates a FrameRate instance from a FrameRateType. | |
| FrameRateType | getType () const |
| Gets the FrameRateType that matches the state of this FrameRate. | |
| int | getBaseRate () const |
| Returns the plain rate, without taking pulldown into account. | |
| bool | isDrop () const |
| Returns true if drop-frame timecode is in use. | |
| bool | isPullDown () const |
| Returns true if the effective framerate is actually equal to the base rate divided by 1.001. | |
| double | getEffectiveRate () const |
| Returns the actual rate described by this object, taking pulldown into account. | |
| FrameRate | withBaseRate (int x) const |
| Returns a copy of this object with the specified base rate. | |
| FrameRate | withDrop (bool x=true) const |
| Returns a copy of this object with drop frames enabled or disabled, as specified. | |
| FrameRate | withPullDown (bool x=true) const |
| Returns a copy of this object with pulldown enabled or disabled, as specified. | |
| bool | operator== (const FrameRate &other) const |
| Returns true if this instance is equal to other. | |
| bool | operator!= (const FrameRate &other) const |
| Returns true if this instance is not equal to other. | |
More descriptive frame rate type.
Definition at line 64 of file juce_AudioPlayHead.h.
| juce::AudioPlayHead::FrameRate::FrameRate | ( | FrameRateType | type | ) |
Creates a FrameRate instance from a FrameRateType.
Definition at line 71 of file juce_AudioPlayHead.h.
| int juce::AudioPlayHead::FrameRate::getBaseRate | ( | ) | const |
Returns the plain rate, without taking pulldown into account.
Definition at line 93 of file juce_AudioPlayHead.h.
| double juce::AudioPlayHead::FrameRate::getEffectiveRate | ( | ) | const |
Returns the actual rate described by this object, taking pulldown into account.
Definition at line 102 of file juce_AudioPlayHead.h.
| FrameRateType juce::AudioPlayHead::FrameRate::getType | ( | ) | const |
Gets the FrameRateType that matches the state of this FrameRate.
Returns fpsUnknown if this FrameRate cannot be represented by any of the other enum fields.
Definition at line 78 of file juce_AudioPlayHead.h.
| bool juce::AudioPlayHead::FrameRate::isDrop | ( | ) | const |
Returns true if drop-frame timecode is in use.
Definition at line 96 of file juce_AudioPlayHead.h.
| bool juce::AudioPlayHead::FrameRate::isPullDown | ( | ) | const |
Returns true if the effective framerate is actually equal to the base rate divided by 1.001.
Definition at line 99 of file juce_AudioPlayHead.h.
Returns true if this instance is not equal to other.
Definition at line 121 of file juce_AudioPlayHead.h.
Returns true if this instance is equal to other.
Definition at line 114 of file juce_AudioPlayHead.h.
Returns a copy of this object with the specified base rate.
Definition at line 105 of file juce_AudioPlayHead.h.
Returns a copy of this object with drop frames enabled or disabled, as specified.
Definition at line 108 of file juce_AudioPlayHead.h.
Returns a copy of this object with pulldown enabled or disabled, as specified.
Definition at line 111 of file juce_AudioPlayHead.h.