commit | cefba1e3a1c88c7ee40787c0fbd3ef45579a2d05 | [log] [tgz] |
---|---|---|
author | Dylan Reid <dgreid@chromium.org> | Tue Sep 01 11:03:01 2015 -0700 |
committer | Dylan Reid <dgreid@google.com> | Thu Sep 10 11:21:11 2015 -0700 |
tree | c82de10b3729db2107681ba2ab4833e7dacede8b | |
parent | 9074cfc4127cb841f0633b35895141f90da3f0d6 [diff] |
Add pcm_get_poll_fd Similar to ALSA snd_pcm_get_poll_fd, this will allow a user to wait for a sound device to have data in a poll(2) call. The hotword thread will use this to wait for a message on its socket or for audio data to become ready. Change-Id: Ia9f5ffc67d458cd9466dc4f090a5be85d9738d1f Signed-off-by: Dylan Reid <dgreid@chromium.org>