MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / UpdateGameTimestep

Method UpdateGameTimestep

Source/Sound/threaded_sound_wrapper.cpp:662–666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662void ThreadedSound::UpdateGameTimestep(float timestep) {
663 ThreadedSoundMessage tsm(ThreadedSoundMessage::InFUpdateGameTimestep);
664 tsm.SetData(&timestep, sizeof(float));
665 message_queue_in.Queue(tsm);
666}
667
668void ThreadedSound::UpdateGameTimescale(float time_scale) {
669 ThreadedSoundMessage tsm(ThreadedSoundMessage::InFUpdateGameTimescale);

Callers 1

ThreadedSoundLoopFunction · 0.45

Calls 2

SetDataMethod · 0.45
QueueMethod · 0.45

Tested by

no test coverage detected