]> git.alsa-project.org Git - alsa-lib.git/commit
namehint: Don't enumerate as duplex if only a single direction is defined
authorTakashi Iwai <tiwai@suse.de>
Thu, 12 May 2016 14:30:44 +0000 (16:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 12 May 2016 14:30:44 +0000 (16:30 +0200)
commit8cdbdae73109c901aec4984f6ba65e5b25722f13
tree592248e606f02a08ca07f250b1c91a2c793d9098
parent5610b356b5f110f7f8e586f56e5b74e0f0c2db38
namehint: Don't enumerate as duplex if only a single direction is defined

When a hint description has only either device_input or device_output,
we shouldn't handle it as a full duplex but rather a single
direction.  In that way, we can avoid to list up a playback stream
like dmix or surround51 as a capture stream in the namehint.

Reported-by: Trent Reed <treed0803@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/namehint.c