[Alsa-devel] Memory managment.

2002-05-26 Thread Peter Enderborg
I have some memory problems with my alsa programming. And I have tryed to do a small program to see whats wrong. And I still have the same problem with this little program... #include int main() { while (1) { snd_seq_event_t *foo; foo = snd_seq_create_event(); snd_seq_fr

Re: [Alsa-devel] Memory managment.

2002-05-06 Thread Ville Syrjälä
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. I

Re: [Alsa-devel] Memory managment.

2002-05-06 Thread Peter Enderborg
Takashi Iwai wrote: > At Mon, 06 May 2002 12:09:57 +0200, > Peter Enderborg wrote: > > > > Takashi Iwai wrote: > > > > > Hi Peter, > > > > > > At Sun, 05 May 2002 19:35:04 +0200, > > > Peter Enderborg wrote: > > > > > > > > I have some memory problems with my alsa programming. > > > > And I have

Re: [Alsa-devel] Memory managment.

2002-05-06 Thread Takashi Iwai
At Mon, 06 May 2002 12:09:57 +0200, Peter Enderborg wrote: > > Takashi Iwai wrote: > > > Hi Peter, > > > > At Sun, 05 May 2002 19:35:04 +0200, > > Peter Enderborg wrote: > > > > > > I have some memory problems with my alsa programming. > > > And I have tryed to do a small program to see whats wr

Re: [Alsa-devel] Memory managment.

2002-05-06 Thread Peter Enderborg
Takashi Iwai wrote: > Hi Peter, > > At Sun, 05 May 2002 19:35:04 +0200, > Peter Enderborg wrote: > > > > I have some memory problems with my alsa programming. > > And I have tryed to do a small program to see whats wrong. > > And I still have the same problem with this little program... > > > > >

Re: [Alsa-devel] Memory managment.

2002-05-06 Thread Takashi Iwai
Hi Peter, At Sun, 05 May 2002 19:35:04 +0200, Peter Enderborg wrote: > > I have some memory problems with my alsa programming. > And I have tryed to do a small program to see whats wrong. > And I still have the same problem with this little program... > > > #include > int main() > { > while

[Alsa-devel] Memory managment.

2002-05-05 Thread Peter Enderborg
I have some memory problems with my alsa programming. And I have tryed to do a small program to see whats wrong. And I still have the same problem with this little program... #include int main() { while (1) { snd_seq_event_t *foo; foo = snd_seq_create_event(); snd_seq_fr