commit | 587b0e3208702d1cbb3fc8290f9109b386573636 | [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 00:07:32 2023 -0700 |
tree | cd21694a7dba85ec1ce3e0421bcbe163114b0320 | |
parent | a1b261e07472d9e2aca3152cec627a620b956942 [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