Choose your operating system:
Windows
macOS
Linux
| FQuartLatencyTracker
|
Module |
|
Header |
/Engine/Source/Runtime/AudioMixer/Public/Quartz/AudioMixerClockManager.h |
Include |
#include "Quartz/AudioMixerClockManager.h" |
class FQuartzClockManager : public FQuartLatencyTracker
Class that owns, updates, and provides access to all active clocks All methods are thread-safe. The method locks if it returns a value, and stages a command if it returns void
Name | Description | |
---|---|---|
|
FQuartzClockManager ( |
Ctor |
Name | Description | |
---|---|---|
|
~FQuartzClockManager() |
Dtor |
Name | Description | ||
---|---|---|---|
|
FQuartzQuant... |
AddCommandToClock ( |
Add a new command to a given clock safe to call from AudioThread (uses Audio Render Thread command) |
|
CancelCommandOnClock ( |
Cancel a queued command on a clock (i.e. cancel a PlayQuantized command if the sound is stopped before it is played) |
|
|
DoesClockExist ( |
Returns true if a clock with the given name already exists. |
|
|
Flush() |
Shutdown all clocks that don't ignore Flush() (i.e. level change) |
|
|
FQuartzTrans... |
GetCurrentTimestamp ( |
Returns the current location of the clock in the transport. |
|
float |
GetDurationOfQuantizationTypeInSeconds ( |
Returns the duration in seconds of the given Quantization Type, or -1 if the Clock is invalid or nonexistent. |
|
float |
GetEstimatedRunTime ( |
Returns the amount of time, in seconds, the clock has been running. Caution: due to latency, this will not be perfectly accurate. |
|
GetLastUpdateSizeInFrames() |
||
|
FMixerDevice... |
GetMixerDevice() |
Get access to the owning FMixerDevice |
|
GetNumClocks() |
||
|
TSharedPtr< ... |
GetOrCreateClock ( |
Add (and take ownership of) a new clock safe to call from AudioThread (uses critical section) |
|
FQuartzClock... |
GetTickRateForClock ( |
Get Tick rate for clock safe to call from AudioThread (uses critical section) |
|
HasClockBeenTickedThisUpdate ( |
||
|
IsClockRunning ( |
Returns true if the name is running |
|
|
LowResoultionUpdate ( |
Can be called from any thread for low-resolution clock updates (i.e. used when running without an audio device) not sample-accurate! |
|
|
PauseClock ( |
Stop the given clock safe to call from AudioThread (uses Audio Render Thread command) |
|
|
RemoveClock ( |
Remove existing clock safe to call from AudioThread (uses Audio Render Thread Command) |
|
|
ResumeClock |
Start the given clock safe to call from AudioThread (uses Audio Render Thread command) |
|
|
SetTickRateForClock ( |
||
|
Shutdown() |
Stop all clocks and cancel all pending events |
|
|
StopClock |
Stop the given clock safe to call from AudioThread (uses Audio Render Thread command) |
|
|
SubscribeToAllTimeDivisions ( |
Subscribe to all time divisions on a clock |
|
|
SubscribeToTimeDivision ( |
Subscribe to a specific time division on a clock |
|
|
UnsubscribeFromAllTimeDivisions ( |
Un-subscribe from all time divisions on a specific clock |
|
|
UnsubscribeFromTimeDivision ( |
Un-subscribe from a specific time division on a clock |
|
|
Update ( |
Called on AudioRenderThread. |
|
|
UpdateClock |
Called on AudioRenderThread. |