Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
102
void AudioInterface::BGM_SetGlobalVolume(int volume) {
103
cfg.music_volume.Set(volume);
104
}
105
106
int AudioInterface::SE_GetGlobalVolume() const {
107
return cfg.sound_volume.Get();
Callers
1
RefreshAudio
Method · 0.80
Calls
1
Set
Method · 0.45
Tested by
no test coverage detected