Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/Quartz
Inheritance Hierarchy
- UTickableWorldSubsystem
- UQuartzSubsystem
References
| Module | AudioMixer |
| Header | /Engine/Source/Runtime/AudioMixer/Public/Quartz/QuartzSubsystem.h |
| Include | #include "Quartz/QuartzSubsystem.h" |
Syntax
UCLASS (DisplayName="Quartz", MinimalAPI)
class UQuartzSubsystem : public UTickableWorldSubsystem
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Ctor/dtor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddProxyForExternalClock
(
const Audio::FQuartzClockProxy& InProxy |
Allow an external clock (not ticked by the Audio Mixer or QuartzSubsystem) to be accessible via this subsystem | |
| void | BeginDestroy () |
||
| UQuartzClockHandle * | CreateNewClock
(
const UObject* WorldContextObject, |
Clock Creation create a new clock (or return handle if clock already exists) | |
| Audio::FQuartzQuantizedRequestData | CreateRequestDataForQuantizedNotify
(
UQuartzClockHandle* InClockHandle, |
||
| Audio::FQuartzQuantizedRequestData | CreateRequestDataForSchedulePlaySound
(
UQuartzClockHandle* InClockHandle, |
||
| Audio::FQuartzQuantizedRequestData | CreateRequestDataForStartOtherClock
(
UQuartzClockHandle* InClockHandle, |
||
| Audio::FQuartzQuantizedRequestData | CreateRequestDataForTickRateChange
(
UQuartzClockHandle* InClockHandle, |
Helper functions for initializing quantized command initialization struct (to consolidate eyesore) | |
| Audio::FQuartzQuantizedRequestData | CreateRequestDataForTransportReset
(
UQuartzClockHandle* InClockHandle, |
||
| void | Deinitialize () |
||
| void | DeleteClockByHandle
(
const UObject* WorldContextObject, |
Delete an existing clock given its clock handle | |
| void | DeleteClockByName
(
const UObject* WorldContextObject, |
Delete an existing clock given its name | |
| bool | DoesClockExist
(
const UObject* WorldContextObject, |
Returns true if the clock exists | |
| bool | DoesSupportWorldType
(
EWorldType::Type WorldType |
||
| UQuartzSubsystem * | Get
(
const UWorld*const World |
Static methods | |
| float | Latency data (Audio Render Thread -> Game thread) | ||
| float | |||
| float | |||
| FQuartzTransportTimeStamp | GetCurrentClockTimestamp
(
const UObject* WorldContextObject, |
Retrieves a timestamp for the clock. | |
| float | GetDurationOfQuantizationTypeInSeconds
(
const UObject* WorldContextObject, |
Returns the duration in seconds of the given Quantization Type. | |
| float | GetEstimatedClockRunTime
(
const UObject* WorldContextObject, |
Returns the amount of time, in seconds, the clock has been running. Caution: due to latency, this will not be perfectly accurate. | |
| float | GetGameThreadToAudioRenderThreadAverageLatency
(
const UObject* WorldContextObject |
Latency data (Game thread -> Audio Render Thread) | |
| float | GetGameThreadToAudioRenderThreadMaxLatency
(
const UObject* WorldContextObject |
||
| float | GetGameThreadToAudioRenderThreadMinLatency
(
const UObject* WorldContextObject |
||
| UQuartzClockHandle * | GetHandleForClock
(
const UObject* WorldContextObject, |
Get handle for existing clock | |
| Audio::FQuartzClockProxy | GetProxyForClock
(
FName ClockName |
Get C++ handle (proxy) to a clock if it exists | |
| float | GetRoundTripAverageLatency
(
const UObject* WorldContextObject |
Latency data (Round trip) | |
| float | GetRoundTripMaxLatency
(
const UObject* WorldContextObject |
||
| float | GetRoundTripMinLatency
(
const UObject* WorldContextObject |
||
| TStatId | GetStatId () |
||
| TWeakPtr< FQuartzTickableObjectsManager > | Sharable to allow non-UObjects to un-subscribe if the Subsystem is going to outlive them | ||
| void | Initialize
(
FSubsystemCollectionBase& Collection |
||
| bool | IsClockRunning
(
const UObject* WorldContextObject, |
Returns true if the clock is running | |
| bool | |||
| bool | IsTickable () |
||
| bool | |||
| void | SetQuartzSubsystemTickableWhenPaused
(
const bool bInTickableWhenPaused |
||
| void | SubscribeToQuartzTick
(
FQuartzTickableObject* InObjectToTick |
These calls are forwarded to the internal FQuartzTickableObjectsManager | |
| void | Tick
(
float DeltaTime |
||
| void | UnsubscribeFromQuartzTick
(
FQuartzTickableObject* InObjectToTick |