Re: [Alsa-devel] creating/deleting MIDI events

2003-10-21 Thread Takashi Iwai
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

Re: [Alsa-devel] creating/deleting MIDI events

2003-10-21 Thread Clemens Ladisch
Bernhard Gerlach wrote: > 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... Use a standard pointer, and malloc/calloc/whateveralloc. You can allocate events directly on the s

[Alsa-devel] creating/deleting MIDI events

2003-10-20 Thread Bernhard Gerlach
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... Question 2: snd_seq_event * event; snd_seq_event_input( handle, &event ); This allocates memory, but how