From 3d622223918b77dfb7daebbf312c076b50176433 Mon Sep 17 00:00:00 2001 From: "Gabriel M. Beddingfield" Date: Thu, 19 Apr 2012 21:17:56 -0500 Subject: Add pcm_wait() to the tinyalsa API. --- include/tinyalsa/asoundlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3