On Wed, Oct 08, 2014 at 05:24:49PM +0200, Jean-Michel Hautbois wrote:
2014-09-24 10:21 GMT+02:00 Mark Brown broonie@kernel.org:
No, that's really not what DPCM is all about... if this is a physically separate device that's not got direct memory access it's probably more appropriate to represent as a CODEC. I was CCed in part way so don't entirely know.
OK, sorry for my late answer, but I was on a lot of things at the same time :/. Well, here is a tentative to explain what I want to do : http://paste.kde.org/pwijzty2p The objective is to develop the "Mux I²S" part, as this is in fact a FPGA with I²C registers which tell which input should go on which output.
OK, this probably does fit best with DPCM at this point of view as it is such a simple straight through connection. At least it's probably the lowest impedence way of doing things right now, it's not really what we want to do longer term though.
I am reading Alsa docs, in order to fully understand what should be done, but it seems that this is nothing more than a simple codec with no effect on audio parameters... It should be visible in alsa mixer though, in order to drive the inputs from user space easily.
Even a dumb CODEC at least has the effect of limitng the configurations that can be used.