Chokri, I think that's as expected. When you start playback, McASP will be configured with those parameters. It's not allowed to start a second playback and change McASP parameters on the fly. From driver perspective, McASP is in use when first playback is started, so any other playback using the same McASP instance will return EBUSY error. Since all 3 codecs are connected to the same McASP interface, what is possible is to have a single PCM device that supports 6-channel. So McASP gets configured to 6-channels and codecs listen to specific TDM slots, (i.e. codec a -> slots 0 and 1, codec b -> slots 2 and 3, codec c -> slots 4 and 5). Obviously, creating the 6-channel stream from 3 stereo streams is a data massaging that an application in userspace has to do. Could you please share the sound card driver that you're using (compatible = "ti,dra7xx-jamr3-multicodec-evm")? I'd like to see how multicodec is being used. Also please share the kernel version you're using.
↧