MCPcopy Create free account
hub / github.com/EasyRPG/Player / BGM_Volume

Method BGM_Volume

src/audio_generic.cpp:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void GenericAudio::BGM_Volume(int volume) {
139 LockMutex();
140 for (auto& BGM_Channel : BGM_Channels) {
141 BGM_Channel.SetVolume(volume);
142 }
143 UnlockMutex();
144}
145
146void GenericAudio::BGM_Pitch(int pitch) {
147 LockMutex();

Callers 1

BgmPlayMethod · 0.45

Calls 1

SetVolumeMethod · 0.45

Tested by

no test coverage detected