| 531 | } |
| 532 | |
| 533 | void GenericAudio::BgmChannel::SetPitch(int pitch) { |
| 534 | if (midi_out_used) { |
| 535 | instance->midi_thread->GetMidiOut().SetPitch(pitch); |
| 536 | } else if (decoder) { |
| 537 | decoder->SetPitch(pitch); |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | bool GenericAudio::BgmChannel::IsUsed() const { |
| 542 | return decoder || midi_out_used; |
no outgoing calls
no test coverage detected