At Mon, 20 Oct 2003 15:32:29 +0200, Bernhard Gerlach wrote: > > > Hello, > > Question 1: > > How do create a pointer and allocate memory to variables of type > snd_seq_event to generate events by software? The function > snd_seq_create_event doesn't exist anymore...
simply use malloc. it's one of few exceptions that the struct is defined explicitly. > Question 2: > > snd_seq_event * event; > snd_seq_event_input( handle, &event ); > > This allocates memory, but how do I release it? The function > snd_seq_free_event is marked as deprecated and seems to be empty. you don't need to free it since it doesn't allocate the memory but give the pointer in the buffer in fact. Takashi ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel