On Mon, May 06, 2002 at 12:37:29PM +0200, Takashi Iwai wrote: > snd_seq_event_output() copies the event instance, so a temporary > variable can be used safely in the above.
What about snd_seq_event_input()? The comments in the code suggest that it uses snd_seq_event_create() but I don't see it. It doesn't seem to allocate anything. Do I have to supply it with a pointer to a preallocated event structure? If that's the case the example code in the alsa-lib/test directory is broken. Actually it's broken in either case since like you said snd_seq_free_event() doesn't free anything. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel