MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetWaveDuration

Method GetWaveDuration

engine/Poseidon/Audio/Text/SoundSystemText.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42float SoundSystemText::GetWaveDuration(const char* filename)
43{
44 LOG_DEBUG(Audio, "[AudioText] GetWaveDuration('{}') -> 1.0s (default)", filename);
45 return 1.0f;
46}
47
48IWave* SoundSystemText::CreateEmptyWave(float duration)
49{

Callers 3

InitFinishMethod · 0.45
InitMethod · 0.45
SoundLengthFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected