| 523 | } |
| 524 | |
| 525 | void 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 | |
| 533 | void GenericAudio::BgmChannel::SetPitch(int pitch) { |
| 534 | if (midi_out_used) { |
no outgoing calls
no test coverage detected