On Tue, 22 Jul 2003, Carlo Wood wrote:
> 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?
Perhaps, you're in a bad state. Did you call hw_params() with a MMAP
access request before?
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel