Hi all,

I would have a few questions regarding buffer mgt:

When is substream->dma_area used for capture or playback? (probably never, as
snd_pcm_lib_malloc_pages() seems to imply that one should only use
substream->runtime->dma_area)

Where should captured audio data be copied into runtime->dma_area? Is it up to
the driver or do capture_copy() and capture_silence() functions take the same
role as for playback?

When does the pointer to the next playback/capture audio period rewind? I
noticed that for more than 2 periods_max, this can happen anytime (eg. after 2,
3, ...) even before we reached the end of the buffer.

Cheers!
Guilhem.


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to