Hi Mark, If user app use 2 channels but codec need 8 channels in tdm mode, I need to copy this data from user space to dma buffer. I wonder how to calculate dma size, snd_pcm_hardware.buffer_bytes_max or buffer_bytes_max * tdm_channels / channels_min? Thanks, Scott