diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/asoundlib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h index e65403e..5894257 100644 --- a/include/tinyalsa/asoundlib.h +++ b/include/tinyalsa/asoundlib.h @@ -70,6 +70,8 @@ struct pcm; enum pcm_format { PCM_FORMAT_S16_LE = 0, PCM_FORMAT_S32_LE, + PCM_FORMAT_S8, + PCM_FORMAT_S24_LE, PCM_FORMAT_MAX, }; @@ -157,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 |