All of lore.kernel.org
 help / color / mirror / Atom feed
* snd_pcm_mmap_begin returns 0 but sets areas to NULL
@ 2003-07-22 13:51 Carlo Wood
  2003-07-22 14:38 ` Carlo Wood
  2003-07-23  6:57 ` Jaroslav Kysela
  0 siblings, 2 replies; 5+ messages in thread
From: Carlo Wood @ 2003-07-22 13:51 UTC (permalink / raw)
  To: alsa-devel@lists.sourceforge.net

Is it ever allowed that:

    snd_pcm_channel_area_t const* areas;
    snd_pcm_uframes_t offset;
    snd_pcm_uframes_t size = period_size;
    if (size > 0)
    {
      snd_pcm_uframes_t frames = size;
      int err = snd_pcm_mmap_begin(handle, &areas, &offset, &frames);

returns err == 0, but results in areas == NULL ?

Or is that a bug in alsa?

-- 
Carlo Wood <carlo@alinoe.com>


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

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

end of thread, other threads:[~2003-07-23  7:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-22 13:51 snd_pcm_mmap_begin returns 0 but sets areas to NULL Carlo Wood
2003-07-22 14:38 ` Carlo Wood
2003-07-22 16:02   ` Takashi Iwai
2003-07-23  7:00   ` Jaroslav Kysela
2003-07-23  6:57 ` Jaroslav Kysela

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.