
15 Feb
2017
15 Feb
'17
4:53 p.m.
On Wed, Feb 15, 2017 at 02:59:18PM +0100, Arnaud Pouliquen wrote:
For DFSDM we need to re-arrange samples after DMA transfer, before sending them to application. For this, a copy ops(called in snd_pcm_lib_read_transfer) alreday exists in snd_pcm_ops struct.
No, copy() is an alternative to doing DMA rather than something that works with DMA. If you want to have some sort of post processing operation it shoudn't be called copy(). It's probably worth considering just making a new format and letting userspace convert things here.