summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorValentin Manea <valy@mrs.ro>2017-05-01 22:32:36 +0300
committerChih-Wei Huang <cwhuang@linux.org.tw>2017-05-02 17:43:41 +0800
commitce9a1b1c6983dbb91c592643d1d90d64786bbcbe (patch)
tree51ffb184a57ce69f466643f2dd14fc081bf90217 /Android.mk
parent4f5006abcb66e923cabc4644b613db8d2c93a2bb (diff)
downloadplatform_hardware_libaudio-marshmallow-x86.tar.gz
platform_hardware_libaudio-marshmallow-x86.tar.bz2
platform_hardware_libaudio-marshmallow-x86.zip
select_card: only open PCM devices with the same type as requestedmarshmallow-x86lollipop-x86
Let select_card() only open /dev/snd/pcmCxp for playback and /dev/snd/pcmCxc for capture device. This way select_card won't try to open a device twice. In some cases the second query on a playback device(even though select_card is searching for a capture device) will block inside the kernel causing audio to stop working.
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions