diff options
author | Gabriel M. Beddingfield <gabrbedd@ti.com> | 2012-04-19 21:17:56 -0500 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2012-10-22 17:00:27 -0700 |
commit | 3d622223918b77dfb7daebbf312c076b50176433 (patch) | |
tree | 7112c38edf564cdae71e6ef939128ef7f115c586 /include | |
parent | f9678dd81c336acda7cef9a97213b2d51a1aebf4 (diff) |
Add pcm_wait() to the tinyalsa API.
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/asoundlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h index 5f3d563..5894257 100644 --- a/include/tinyalsa/asoundlib.h +++ b/include/tinyalsa/asoundlib.h @@ -159,6 +159,9 @@ int pcm_mmap_commit(struct pcm *pcm, unsigned int offset, unsigned int frames); int pcm_start(struct pcm *pcm); int pcm_stop(struct pcm *pcm); +/* Interrupt driven API */ +int pcm_wait(struct pcm *pcm, int timeout); + /* * MIXER API |