On Mon, 09 Mar 2020 19:50:57 +0100, Takashi Iwai wrote: > > Both snd_pcm_plug_client_size() and snd_pcm_plug_slave_size() do the > almost same calculations of calling src_frames() and dst_frames() in > the chain, but just to the different directions with each other. > > This patch simplifies those functions. Now they return -EINVAL for > the invalid direction, but practically seen, there is no functional > changes at all. > > Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> Sorry, scratch this, an old version was sent here. Will submit the right one. Takashi