I've been poking through the sequencer code a bit, and noticed two
things which puzzle me.  Both are to do with the way variable-length
events are transmitted:

1. Why does snd_seq_event_output_direct() allocate a temporary buffer
   and copy the data to it?  Wouldn't it be more efficient to read 
   directly from the pointer provided with the event?

2. The kernel code seems to have the ability to read data for
   variable-length packets directly out of user space, but this
   doesn't seem to be used by the library code - why not?

-- 

Michael Ashton <[EMAIL PROTECTED]>
----
"God gave them to me; how can I sell them to someone else?"
-- George Washington Carver, when asked why he patented only three
   of his hundreds of inventions


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to