Re: midi: don't spin in the kernel

2012-03-09 Thread Jonathan Gray
Sorry I can't describe this better but midi ends up being played too fast/slow here and some notes have the wrong duration when using eap(4) an mt-32 and scummvm. The timing of when the notes start seems to be off as well. http://jsg.id.au/misc/with_patch.ogg http://jsg.id.au/misc/without_patch.o

midi: don't spin in the kernel

2012-03-07 Thread Alexandre Ratchov
Certain midi uarts don't have interrupts, so when data is sent, the driver spins (at IPL_AUDIO) until the uart becomes ready. This is not a big problem because uarts have ~16-32 byte fifos, and programs don't send large chunks of data, so uarts always appear ready. Except for large messages, which