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

Method SetVolume

src/audio_generic.cpp:525–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525void GenericAudio::BgmChannel::SetVolume(int volume) {
526 if (midi_out_used) {
527 instance->midi_thread->GetMidiOut().SetVolume(volume);
528 } else if (decoder) {
529 decoder->SetVolume(volume);
530 }
531}
532
533void GenericAudio::BgmChannel::SetPitch(int pitch) {
534 if (midi_out_used) {

Callers 2

BGM_VolumeMethod · 0.45
PlayOnChannelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected