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

Method GetVolume

src/audio_decoder.cpp:181–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181int AudioDecoder::GetVolume() const {
182 return static_cast<int>(log_volume);
183}
184
185void AudioDecoder::SetVolume(int new_volume) {
186 volume = Utils::Clamp(static_cast<float>(new_volume), 0.0f, 100.0f);

Callers 2

DecodeMethod · 0.45
n3ds_audio_threadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected