MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setRangeMultiplier

Method setRangeMultiplier

source/base/StarMixer.cpp:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void AudioInstance::setRangeMultiplier(float rangeMultiplier) {
63 MutexLocker locker(m_mutex);
64 m_rangeMultiplier = rangeMultiplier;
65}
66
67void AudioInstance::setVolume(float targetValue, float rampTime) {
68 starAssert(targetValue >= 0);

Callers 4

soundsFromDefinitionFunction · 0.80
renderSoundsMethod · 0.80
updateMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected