On Thu, 6 Feb 2003, Frank Neumann wrote: > And YES, that did the trick! Thanks a lot, Clemens. Looks like the drain() > takes a lot longer than I'd have expected (my thought was that it would > return right after the last "command" bytes have been sent out, and that > the incoming stream would be held by the buffer (4096 bytes, right) for > a little while, so I didn't expect any losses there. > > I find this a little odd - especially since it was not the _beginning_ of > the stream that is missing, but a couple of bytes a little later. But, what > the heck - it works now, I learnt something - thanks! :-) > > Greetings, > Frank > > PS: I checked with gettimeofday(): The snd_rawmidi_drain() takes about > 47-49ms on my system..quite long, huh? I mean, the command sequence is > just 7 bytes, that's about 2.24ms of "raw" MIDI transfer time..
It looks like a serious bug in the driver. Could you resend me privately your utility again? Thanks. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel