All of lore.kernel.org
 help / color / mirror / Atom feed
* snd_pcm_info_alloca ( ptr) allocate an INVALID snd_pcm_info_t
@ 2009-07-03 13:22 Guilherme Longo
  2009-07-06 13:52 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Guilherme Longo @ 2009-07-03 13:22 UTC (permalink / raw)
  To: alsa-devel, alsa-devel

Hi all!

Mates, I was looking for a reasonable explanation on why the functions 
*_alloca as snd_pcm_info_alloca allocates an INVALID snd_pcm_info_t??

At my point of view this function reserves memory for the allocation of 
snd_pcm_info_t and so it is a real space reservation.


I don't want get a wrong understanding and as long as there is no 
information regarding this, I am here asking!

Thanks in advanced!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: snd_pcm_info_alloca ( ptr) allocate an INVALID snd_pcm_info_t
  2009-07-03 13:22 snd_pcm_info_alloca ( ptr) allocate an INVALID snd_pcm_info_t Guilherme Longo
@ 2009-07-06 13:52 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2009-07-06 13:52 UTC (permalink / raw)
  To: Guilherme Longo; +Cc: alsa-devel

Guilherme Longo wrote:
> Mates, I was looking for a reasonable explanation on why the functions 
> *_alloca as snd_pcm_info_alloca allocates an INVALID snd_pcm_info_t??

"Invalid" just means that the thing does not yet contain valid data.
It would have been better to describe it as empty.


Best regards,
Clemens

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-06 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-03 13:22 snd_pcm_info_alloca ( ptr) allocate an INVALID snd_pcm_info_t Guilherme Longo
2009-07-06 13:52 ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.