Skip to content
Commit 67616fed authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm: Unify ioctl functions for playback and capture streams



Some ioctl functions are implemented individually for both playback
and capture streams although most of the codes are identical with just
a few different stream-specific function calls.  This patch unifies
these places, removes the superfluous trivial check and flattens the
call paths as a cleanup.  Meanwhile, for better readability, some
codes (e.g. xfer ioctls or forward/rewind ioctls) are factored out as
functions.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7d8e8292
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment