commit | 7cb1a4915a37c3790b599faad6b5fa903d337eb8 | [log] [tgz] |
---|---|---|
author | MingShu Pang <quic_mpang@quicinc.com> | Wed May 17 17:27:38 2023 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue May 30 05:38:51 2023 -0700 |
tree | 0763f63d7d38abd0eed276e5098113a572b18da5 | |
parent | c63e3d91cf965a07f476a6665d318896e038c2e8 [diff] |
plugins: tinyalsa: make correct direction distinction of RX and TX PCM_OUT is 0x0, so plugin->mode & PCM_OUT always equals 0x0 no matter what plugin mode is. Make correct TX RX direction distinction by checking PCM_IN(0x10000000) first in agm_pcm_get_avail. Change-Id: Ifeeda665058b3fbfbf906badf4d52b9a8938a1fc