Re: [PATCH] ALSA: pcm: oss: Simplify plugin frame size calculations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux