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

Method BGM_SetGlobalVolume

src/audio.cpp:102–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void AudioInterface::BGM_SetGlobalVolume(int volume) {
103 cfg.music_volume.Set(volume);
104}
105
106int AudioInterface::SE_GetGlobalVolume() const {
107 return cfg.sound_volume.Get();

Callers 1

RefreshAudioMethod · 0.80

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected