From f5a956cbb1ad414b8da0127cf997cfe43d7a6bcb Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 31 Aug 2021 14:24:09 -0700 Subject: [PATCH] expose pcm_state in public API --- include/tinyalsa/pcm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h index b40550c..1d77e53 100644 --- a/include/tinyalsa/pcm.h +++ b/include/tinyalsa/pcm.h @@ -359,6 +359,8 @@ int pcm_start(struct pcm *pcm); int pcm_stop(struct pcm *pcm); +int pcm_state(struct pcm *pcm); + int pcm_wait(struct pcm *pcm, int timeout); long pcm_get_delay(struct pcm *pcm); -- 2.32.0