MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / play_time

Method play_time

ogsr_engine/xrSound/SoundRender_Emitter.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112void CSoundRender_Emitter::switch_to_3D() { b2D = FALSE; }
113
114u32 CSoundRender_Emitter::play_time()
115{
116 if (m_current_state == stPlaying || m_current_state == stPlayingLooped || m_current_state == stSimulating || m_current_state == stSimulatingLooped)
117 return iFloor((SoundRender->fTimer_Value - fTimeStarted) * 1000.0f);
118 else
119 return 0;
120}
121
122#include "SoundRender_Source.h"
123void CSoundRender_Emitter::set_cursor(u32 p)

Callers 1

UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected