MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetBufferStartTime

Method GetBufferStartTime

Source/Engine/Audio/AudioClip.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119float AudioClip::GetBufferStartTime(int32 bufferIndex) const
120{
121 ASSERT(IsLoaded());
122 return _buffersStartTimes[bufferIndex];
123}
124
125int32 AudioClip::GetFirstBufferIndex(float time, float& offset) const
126{

Callers 2

GetTimeMethod · 0.80
CalculateResidencyMethod · 0.80

Calls 1

IsLoadedFunction · 0.50

Tested by

no test coverage detected