| 295 | } |
| 296 | |
| 297 | void stopMidiSound() |
| 298 | { |
| 299 | SDL_LockMutex(s_midiThreadMutex); |
| 300 | MidiCmd* midiCmd = midiAllocCmd(); |
| 301 | if (midiCmd) |
| 302 | { |
| 303 | midiCmd->cmd = MIDI_STOP_NOTES; |
| 304 | } |
| 305 | SDL_UnlockMutex(s_midiThreadMutex); |
| 306 | } |
| 307 | |
| 308 | void synthesizeMidi(f32* buffer, u32 stereoSampleCount, bool updateBuffer) |
| 309 | { |
no test coverage detected