| 194 | } |
| 195 | |
| 196 | void selectDeviceOutput(s32 output) |
| 197 | { |
| 198 | SDL_LockMutex(s_deviceChangeMutex); |
| 199 | { |
| 200 | if (s_midiDevice) |
| 201 | { |
| 202 | if (!s_midiDevice->selectOutput(output)) |
| 203 | { |
| 204 | TFE_System::logWrite(LOG_ERROR, "Midi", "Cannot select midi output."); |
| 205 | } |
| 206 | } |
| 207 | } |
| 208 | SDL_UnlockMutex(s_deviceChangeMutex); |
| 209 | } |
| 210 | |
| 211 | MidiDeviceType getDeviceType() |
| 212 | { |
no test coverage detected