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

Method SetVolume

music/streamer.cpp:165–168  ·  view source on GitHub ↗

volume.

Source from the content-addressed store, hash-verified

163
164// volume.
165void oms_stream::SetVolume(float vol) {
166 m_maxvol = vol;
167 m_stream.SetVolume(vol);
168}
169
170// processes current command on stream, return false to end processing.
171bool oms_stream::processCommand() {

Callers 4

ProcessMethod · 0.45
processCommandMethod · 0.45
D3MusicStartFunction · 0.45
D3MusicSetVolumeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected