master hovercats/oakiss / pkg / tinyalsa / patch / 0002-expose-pcm_state-in-public-API.patch
 1From a307284f4d4dce9974444f9b304c6bcbbf039780 Mon Sep 17 00:00:00 2001
 2From: Michael Forney <mforney@mforney.org>
 3Date: Tue, 31 Aug 2021 14:24:09 -0700
 4Subject: [PATCH] expose pcm_state in public API
 5
 6---
 7 include/tinyalsa/pcm.h | 2 ++
 8 1 file changed, 2 insertions(+)
 9
10diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h
11index 9fca92d..ddf58f0 100644
12--- a/include/tinyalsa/pcm.h
13+++ b/include/tinyalsa/pcm.h
14@@ -363,6 +363,8 @@ int pcm_start(struct pcm *pcm);
15 
16 int pcm_stop(struct pcm *pcm);
17 
18+int pcm_state(struct pcm *pcm);
19+
20 int pcm_wait(struct pcm *pcm, int timeout);
21 
22 long pcm_get_delay(struct pcm *pcm);
23-- 
242.37.3
25