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

Method CreateEmptyWave

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

Source from the content-addressed store, hash-verified

46}
47
48IWave* SoundSystemText::CreateEmptyWave(float duration)
49{
50 LOG_DEBUG(Audio, "[AudioText] CreateEmptyWave(duration={:.2f}ms)", duration);
51 return new WaveText(RString("empty"), duration / 1000.0f);
52}
53
54IWave* SoundSystemText::CreateWave(const char* filename, bool is3D, bool prealloc)
55{

Callers 1

SayPauseMethod · 0.45

Calls 1

RStringClass · 0.50

Tested by

no test coverage detected