diff options
author | Valentin Manea <valy@mrs.ro> | 2017-05-01 22:32:36 +0300 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2017-05-02 17:43:41 +0800 |
commit | ce9a1b1c6983dbb91c592643d1d90d64786bbcbe (patch) | |
tree | 51ffb184a57ce69f466643f2dd14fc081bf90217 /Android.mk | |
parent | 4f5006abcb66e923cabc4644b613db8d2c93a2bb (diff) | |
download | platform_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