All of lore.kernel.org
 help / color / mirror / Atom feed
* pcm_lib.c & pcm_memory.c
@ 2002-07-22 18:35 Guilhem Tardy
  2002-07-23  9:32 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Guilhem Tardy @ 2002-07-22 18:35 UTC (permalink / raw)
  To: alsa-devel

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

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

end of thread, other threads:[~2002-07-25 19:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-22 18:35 pcm_lib.c & pcm_memory.c Guilhem Tardy
2002-07-23  9:32 ` Takashi Iwai
     [not found]   ` <20020724135330.42595.qmail@web11503.mail.yahoo.com>
2002-07-24 14:13     ` Takashi Iwai
2002-07-24 14:27       ` Guilhem Tardy
2002-07-25 19:27   ` Guilhem Tardy

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.