MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SetVolume

Method SetVolume

music/sequencer.cpp:258–266  ·  view source on GitHub ↗

set volume of sequencer

Source from the content-addressed store, hash-verified

256
257// set volume of sequencer
258void OutrageMusicSeq::SetVolume(float vol) {
259 int i;
260
261 ASSERT(vol >= 0.0f && vol <= 1.0f);
262 m_mastervol = vol;
263
264 for (i = 0; i < OMS_NUM_STRM; i++)
265 m_strm[i].SetVolume(m_mastervol);
266}
267
268#define START_PENDING_SONG() \
269 do { \

Callers 1

ExecScriptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected