FQuartzClockManager::GetOrCreateClock

Add (and take ownership of) a new clock safe to call from AudioThread (uses critical section)

Windows
MacOS
Linux

References

Module

AudioMixer

Header

/Engine/Source/Runtime/AudioMixer/Public/Quartz/AudioMixerClockManager.h

Include

#include "Quartz/AudioMixerClockManager.h"

Source

/Engine/Source/Runtime/AudioMixer/Private/Quartz/AudioMixerClockManager.cpp

Syntax

TSharedPtr< FQuartzClock > GetOrCreateClock
(
    const FName & InClockName,
    const FQuartzClockSettings & InClockSettings,
    bool bOverrideTickRateIfClockExists
)

Remarks

Add (and take ownership of) a new clock safe to call from AudioThread (uses critical section)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss