mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioPlayHead: Move HostTimeNs out of AudioProcessor, to consolidate timing information
This commit is contained in:
parent
8fbd99c424
commit
752c913cd2
13 changed files with 107 additions and 122 deletions
|
|
@ -4,6 +4,28 @@ JUCE breaking changes
|
|||
develop
|
||||
=======
|
||||
|
||||
Change
|
||||
------
|
||||
AudioProcessor::getHostTimeNs() and AudioProcessor::setHostTimeNanos() have
|
||||
been removed.
|
||||
|
||||
Possible Issues
|
||||
---------------
|
||||
Code that used these functions will no longer compile.
|
||||
|
||||
Workaround
|
||||
----------
|
||||
Set and get the system time corresponding to the current audio callback using
|
||||
the new functions AudioPlayHead::PositionInfo::getHostTimeNs() and
|
||||
AudioPlayHead::PositionInfo::setHostTimeNs().
|
||||
|
||||
Rationale
|
||||
---------
|
||||
This change consolidates callback-related timing information into the
|
||||
PositionInfo type, improving the consistency of the AudioProcessor and
|
||||
AudioPlayHead APIs.
|
||||
|
||||
|
||||
Change
|
||||
------
|
||||
AudioPlayHead::getCurrentPosition() has been deprecated and replaced with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue