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
1 file changed
tree: cd21694a7dba85ec1ce3e0421bcbe163114b0320
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager