Takashi Iwai 5c7264cfbb ALSA: pcm: Unify read/write loop
Both __snd_pcm_lib_read() and __snd_pcm_write() functions have almost
the same code to loop over samples.  For simplification, this patch
unifies both as the single helper, __snd_pcm_lib_xfer().

Other than that, there should be no functional change by this patch.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-06-02 19:38:22 +02:00
..
2017-06-02 19:38:22 +02:00
2017-06-02 19:38:02 +02:00
2017-06-02 19:38:03 +02:00
2016-01-20 09:59:27 +01:00
2017-05-08 17:15:14 -07:00
2015-08-31 16:25:22 +02:00
2017-05-17 07:13:14 +02:00