Re: DMA and delay feedback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> For transfer purposes, one only needs to know that DMA transfer is
> complete on period X so that period X can now be over-written.

That's the 'traditional' view. ALSA is now used in different ways.
PulseAudio sets a timer and relies on snd_pcm_avail() to query how
many samples it can write to the ring buffer, the notion of period
isn't used at all. I think we could use additional information in the
way the hw_ptr position is reported, namely hints on how precise this
information is and the granularity of the updates.
- Pierre
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux