| 2181 | } |
| 2182 | |
| 2183 | void ImMidiNoteOff(ImMidiPlayer* player, u8 channelId, u8 arg1, u8 arg2) |
| 2184 | { |
| 2185 | s32 instrumentId = arg1; |
| 2186 | ImMidiOutChannel* channel = &player->channels[channelId]; |
| 2187 | if (channel->partStatus) |
| 2188 | { |
| 2189 | if (channel->data) |
| 2190 | { |
| 2191 | ImHandleNoteOff(channel->data, instrumentId); |
| 2192 | } |
| 2193 | } |
| 2194 | else |
| 2195 | { |
| 2196 | ImNoteOff(imOutDrumChannel, instrumentId); |
| 2197 | } |
| 2198 | } |
| 2199 | |
| 2200 | void ImMidiNoteOn(ImMidiPlayer* player, u8 channelId, u8 arg1, u8 arg2) |
| 2201 | { |
no test coverage detected