commit | 5c9cb35831fb810ea92f8adfdd4cee62479250bd | [log] [tgz] |
---|---|---|
author | Dylan Reid <dgreid@chromium.org> | Tue Sep 01 11:03:01 2015 -0700 |
committer | Dylan Reid <dgreid@google.com> | Tue Sep 22 09:45:55 2015 -0700 |
tree | c82de10b3729db2107681ba2ab4833e7dacede8b | |
parent | 3886a87958d0b723e4b46f74d114d6fda243ac4c [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> (cherry picked from commit cefba1e3a1c88c7ee40787c0fbd3ef45579a2d05)