[alsa-devel] Stream format conversion in SoC driver

Clemens Ladisch clemens at ladisch.de
Wed Jan 4 12:36:08 CET 2017


Giedrius Trainavičius wrote:
> The I2S and DMA format asymmetry sounds like what I'd be after. Do you have
> any pointers for APIs / keywords to look around for in the code to see how
> this should be set up?

This is typically done in the hw_params callback.

> Is such format conversion supposed to be happening in hardware itself

Yes; see figure 8-1:
> https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf


Regards,
Clemens


More information about the Alsa-devel mailing list