> > 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.
>
> it must be after the hw_ptr reaches the end of the buffer.
> please check
> > OK, then I know how to solve my problem, but it would have been nice to
> > avoid copy and silence callbacks, and just get from the substream or
> > runtime structure the hw offset where the next period is expected to be
> > written to.
>
> sorry, i don't understand your question.
>
> regar
At Wed, 24 Jul 2002 06:53:30 -0700 (PDT),
Guilhem Tardy wrote:
>
> - Takashi Iwai <[EMAIL PROTECTED]> wrote:
> > > 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 p
At Mon, 22 Jul 2002 11:35:40 -0700 (PDT),
Guilhem Tardy wrote:
>
> 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->r
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_