mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioPlayHead: Use more descriptive FrameRate type
This commit is contained in:
parent
221a137526
commit
718307b516
4 changed files with 138 additions and 41 deletions
|
|
@ -4,6 +4,26 @@ JUCE breaking changes
|
|||
develop
|
||||
=======
|
||||
|
||||
Change
|
||||
------
|
||||
AudioFrameRate::frameRate is now a class type instead of an enum.
|
||||
|
||||
Possible Issues
|
||||
---------------
|
||||
Code that read the old enum value will not compile.
|
||||
|
||||
Workaround
|
||||
----------
|
||||
Call frameRate.getType() to fetch the old enum type. Alternatively, use the new
|
||||
getBaseRate(), isDrop(), isPullDown(), and getEffectiveRate() functions. The
|
||||
new functions provide a more accurate description of the host's frame rate.
|
||||
|
||||
Rationale
|
||||
---------
|
||||
The old enum-based interface was not flexible enough to describe all the frame
|
||||
rates that might be reported by a plugin host.
|
||||
|
||||
|
||||
Change
|
||||
------
|
||||
FlexItem::alignSelf now defaults to "autoAlign" rather than "stretch".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue